We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df8ce1 commit b0f35acCopy full SHA for b0f35ac
1 file changed
cranelift/codegen/src/isa/x64/lower.isle
@@ -64,7 +64,8 @@
64
;; For more details on this see the `emit.rs` logic to emit
65
;; `LoadEffectiveAddress`.
66
(rule iadd_base_case_32_or_64_lea -5 (lower (has_type (ty_32_or_64 ty) (iadd _ x y)))
67
- (x64_lea ty (to_amode_add (mem_flags_trusted) x y (zero_offset))))
+ ;; (x64_lea ty (to_amode_add (mem_flags_trusted) x y (zero_offset)))
68
+ (x64_add ty x y))
69
70
;; Higher-priority cases than the previous two where a load can be sunk into
71
;; the add instruction itself. Note that both operands are tested for
0 commit comments