-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
94 additions
and
188 deletions.
There are no files selected for viewing
35 changes: 18 additions & 17 deletions
35
tests/snapshots/files__block-diamond-optimize-sequential.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
--- | ||
source: tests/files.rs | ||
expression: visualization.result | ||
snapshot_kind: text | ||
--- | ||
# ARGS: 20 | ||
@main(v0: int) { | ||
c1_: int = const 10; | ||
c2_: int = const 0; | ||
v3_: bool = gt v0 c2_; | ||
c4_: int = const 2; | ||
v5_: int = mul c4_ v0; | ||
c6_: int = const 5; | ||
v7_: int = mul c6_ v5_; | ||
c8_: int = const -3; | ||
v9_: int = mul c8_ v5_; | ||
v10_: int = select v3_ v7_ v9_; | ||
v11_: int = mul c1_ v10_; | ||
print v11_; | ||
c1_: int = const 0; | ||
v2_: bool = gt v0 c1_; | ||
c3_: int = const 2; | ||
v4_: int = mul c3_ v0; | ||
c5_: int = const 5; | ||
v6_: int = mul c5_ v4_; | ||
c7_: int = const 3; | ||
v8_: int = neg c7_; | ||
v9_: int = mul v4_ v8_; | ||
v10_: int = select v2_ v6_ v9_; | ||
v11_: bool = ge v10_ c1_; | ||
c12_: int = const 10; | ||
v13_: int = mul c12_ v10_; | ||
c14_: int = const 37; | ||
v15_: int = mul c14_ v10_; | ||
v16_: int = select v11_ v13_ v15_; | ||
print v16_; | ||
ret; | ||
} |
2 changes: 1 addition & 1 deletion
2
...pshots/files__lowbit_br-optimize.snap.new → ...ts/files__lowbit-optimize-sequential.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...iles__lowbit-optimize-sequential.snap.new → tests/snapshots/files__lowbit-optimize.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...snapshots/files__lowbit-optimize.snap.new → ...files__lowbit_br-optimize-sequential.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s__lowbit_br-optimize-sequential.snap.new → .../snapshots/files__lowbit_br-optimize.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lowbit_naive-optimize-sequential.snap.new → ...es__lowbit_naive-optimize-sequential.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: tests/files.rs | ||
expression: visualization.result | ||
snapshot_kind: text | ||
--- | ||
# ARGS: 21324 | ||
@main(v0: int) { | ||
v1_: int = neg v0; | ||
v2_: int = bitand v0 v1_; | ||
print v2_; | ||
ret; | ||
} |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../files__lowbit_naive_br-optimize.snap.new → ..._lowbit_naive_br-optimize-sequential.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
tests/snapshots/files__lowbit_naive_br-optimize-sequential.snap.new
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
source: tests/files.rs | ||
expression: visualization.result | ||
snapshot_kind: text | ||
--- | ||
# ARGS: 21324 | ||
@main(v0: int) { | ||
v1_: int = neg v0; | ||
v2_: int = bitand v0 v1_; | ||
print v2_; | ||
ret; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
--- | ||
source: tests/files.rs | ||
expression: visualization.result | ||
snapshot_kind: text | ||
--- | ||
# ARGS: 2 4 | ||
@main(v0: int, v1: int) { | ||
c2_: int = const 4; | ||
v3_: int = add c2_ v1; | ||
c4_: int = const 3; | ||
v5_: int = add c4_ v0; | ||
v6_: int = add v3_ v5_; | ||
c7_: int = const 1; | ||
v8_: int = add c7_ v6_; | ||
c2_: int = const 1; | ||
c3_: int = const 3; | ||
v4_: int = add c3_ v0; | ||
c5_: int = const 4; | ||
v6_: int = add c5_ v1; | ||
v7_: int = add v4_ v6_; | ||
v8_: int = add c2_ v7_; | ||
print v8_; | ||
ret; | ||
} |
Oops, something went wrong.