Skip to content

Commit

Permalink
Add in failing tests from bytecodealliance#8690
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 29, 2024
1 parent f69e0ab commit f9b0221
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cranelift/filetests/filetests/egraph/i128-opts.clif
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,23 @@ block0:
; check: v4 = iadd v1, v3
; check: return v4
}

function %slt() -> i8 {
block0:
v0 = iconst.i64 0
v1 = uextend.i128 v0
v2 = icmp slt v1, v1
return v2
; check: v3 = iconst.i8 0
; check: return
}

function %ult() -> i8 {
block0:
v0 = iconst.i64 0
v1 = uextend.i128 v0
v2 = icmp ult v1, v1
return v2
; check: v3 = iconst.i8 0
; check: return
}

0 comments on commit f9b0221

Please sign in to comment.