remove rule and tests
This commit is contained in:
@@ -113,9 +113,6 @@
|
||||
;; Replace with negative 1.
|
||||
(=> (bor_imm -1 $x) -1)
|
||||
|
||||
;; Other replacments
|
||||
(=> (bxor_imm -1 $x) (bnot $x))
|
||||
|
||||
;; Transform `[(x << N) >> N]` into a (un)signed-extending move.
|
||||
;;
|
||||
;; i16 -> i8 -> i16
|
||||
|
||||
Binary file not shown.
@@ -324,17 +324,3 @@ block0(v0: i32):
|
||||
; nextln: v1 = iadd_imm v0, 42
|
||||
; nextln: nop
|
||||
; nextln: return v2
|
||||
|
||||
function %bxor_imm_32(i32) -> i32 {
|
||||
block0(v0: i32):
|
||||
v1 = bxor_imm v0, -1
|
||||
; check: bnot v0
|
||||
return v1
|
||||
}
|
||||
|
||||
function %bxor_imm_64(i64) -> i64 {
|
||||
block0(v0: i64):
|
||||
v1 = bxor_imm v0, -1
|
||||
; check: bnot v0
|
||||
return v1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user