refactor: use different sections for this rule

This commit is contained in:
MaxGraey
2020-07-15 17:11:27 +03:00
parent d04d06d48a
commit 67b785d241

View File

@@ -112,6 +112,8 @@
;; Replace with negative 1. ;; Replace with negative 1.
(=> (bor_imm -1 $x) -1) (=> (bor_imm -1 $x) -1)
;; Other replacments
(=> (bxor_imm -1 $x) (bnot $x)) (=> (bxor_imm -1 $x) (bnot $x))
;; Transform `[(x << N) >> N]` into a (un)signed-extending move. ;; Transform `[(x << N) >> N]` into a (un)signed-extending move.