Files
wasmtime/cranelift/filetests/legalizer/bxor_imm.clif
2019-01-22 23:45:23 -08:00

12 lines
210 B
Plaintext

test legalizer
target x86_64
function %foo(i64, i64) -> i64 {
ebb0(v0: i64, v1: i64):
v2 = bxor_imm.i64 v0, 0x100000000
return v2
}
; check: v3 = iconst.i64 0x0001_0000_0000
; check: v2 = bxor v0, v3