remove rule and tests

This commit is contained in:
MaxGraey
2020-07-16 14:56:11 +03:00
parent 67b785d241
commit 657aea5286
3 changed files with 0 additions and 17 deletions

View File

@@ -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

View File

@@ -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
}