forked from bytecodealliance/cranelift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix isplit legalization for ebb params when jumping forward
Fixes bytecodealliance#1106
- Loading branch information
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
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,22 @@ | ||
test compile | ||
target x86_64 | ||
|
||
function u0:0() -> i128 system_v { | ||
ebb0: | ||
v0 = iconst.i64 0 | ||
v1 = iconst.i64 0 | ||
v2 = iconcat v0, v1 | ||
jump ebb5 | ||
|
||
ebb2: | ||
jump ebb4(v27) | ||
|
||
ebb4(v23: i128): | ||
return v23 | ||
|
||
ebb5: | ||
v27 = bxor.i128 v2, v2 | ||
v32 = iconst.i32 0 | ||
brz v32, ebb2 | ||
trap user0 | ||
} |