cranelift: Remove iconst.i128 (#5075)

* 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
This commit is contained in:
Afonso Bordado
2022-10-24 20:43:28 +01:00
committed by GitHub
parent bfcf6616fe
commit c8791073d6
13 changed files with 246 additions and 184 deletions

View File

@@ -0,0 +1,13 @@
test optimize
set opt_level=speed_and_size
set use_egraphs=true
target x86_64
; This it a regression test to ensure that we don't insert a iconst.i128 when optimizing bxor.
function %bxor_i128(i128) -> i128 system_v {
block0(v0: i128):
v1 = bxor v0, v0
return v1
; check: v1 = bxor v0, v0
; nextln: return v1
}