myunbin opened PR #13786 from myunbin:remove-redundants to bytecodealliance:main:
This PR removes a redundant simplification rule that is already covered by constant canonicalization in
cprop.isle.The rule
(2^n) * x --> x << nis redundant because it can be derived by first canonicalizing the constant operand:(2^n) * x --> x * (2^n) --> x << nSo only
x * (2^n) --> (x << n)rule is needed.
myunbin requested alexcrichton for a review on PR #13786.
myunbin requested wasmtime-compiler-reviewers for a review on PR #13786.
myunbin updated PR #13786.
myunbin requested wasmtime-core-reviewers for a review on PR #13786.
:cross_mark: myunbin closed without merge PR #13786.
myunbin updated PR #13786.
Last updated: Jul 29 2026 at 05:03 UTC