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

@@ -1,14 +0,0 @@
test interpret
test run
set enable_llvm_abi_extensions=true
target aarch64
target s390x
target x86_64
target riscv64
function %i128_const_0() -> i128 {
block0:
v1 = iconst.i128 0
return v1
}
; run: %i128_const_0() == 0

View File

@@ -15,8 +15,10 @@ function %issue4996() -> i128, i64 system_v {
jump block5(v13)
block3:
v21 = iconst.i128 0
jump block5(v21) ; v21 = 0
v20 = iconst.i64 0
v21 = uextend.i128 v20 ; v20 = 0
jump block5(v21)
block5(v23: i128):
v29 = iconst.i64 0
return v23, v29 ; v29 = 0