* cranelift: Remove iconst.i128 * bugpoint: Report Changed when only one instruction is mutated * cranelift: Fix egraph bxor rule * cranelift: Remove some simple_preopt opts for i128
29 lines
538 B
Plaintext
29 lines
538 B
Plaintext
test simple_preopt
|
|
target aarch64
|
|
target x86_64
|
|
target s390x
|
|
target riscv64
|
|
|
|
function %imul_imm_zero(i128) -> i128 {
|
|
block0(v0: i128):
|
|
v1 = imul_imm v0, 0
|
|
return v1
|
|
}
|
|
; sameln: function %imul_imm_zero
|
|
; nextln: block0(v0: i128):
|
|
; nextln: v1 = imul_imm v0, 0
|
|
; nextln: return v1
|
|
; nextln: }
|
|
|
|
|
|
function %band_imm_zero(i128) -> i128 {
|
|
block0(v0: i128):
|
|
v1 = band_imm v0, 0
|
|
return v1
|
|
}
|
|
; check: function %band_imm_zero
|
|
; nextln: block0(v0: i128):
|
|
; nextln: v1 = band_imm v0, 0
|
|
; nextln: return v1
|
|
; nextln: }
|