This is just filling in a missing case from D144225.
We treat (shl Y, X) and (shl Z, X) as (mul Z, 1 << X) and `(mul
Y, 1 << X)` then reuse the same transformations that already exist.
Differential D147108
[InstCombine] Add transforms for `(rem (shl Y, X), (shl Z, X))` goldstein.w.n on Mar 28 2023, 9:01 PM. Authored by
Details This is just filling in a missing case from D144225. We treat (shl Y, X) and (shl Z, X) as (mul Z, 1 << X) and `(mul
Diff Detail
Unit Tests Event Timeline
Comment Actions Thanks for the changes, LGTM!
|
Can you add this new case to the description here?