You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[RISCV] Use RISCVISD::SHL_ADD in transformAddShlImm [NFC]
Doing so avoids negative interactions with other combines which don't
know the shl_add is a single instruction. From the commit log, we've had
several combine loops already.
This was originally posted as part of llvm#88791, where a bug was pointed out.
That bug was fixed by llvm#89789 which hits the same issue from another angle.
To confirm the fix, I included the reduce test case here.
0 commit comments