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:
13
cranelift/filetests/filetests/egraph/i128-opts.clif
Normal file
13
cranelift/filetests/filetests/egraph/i128-opts.clif
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user