llvm-project
d1e17a3f - [RISCV][GISel] Custom promote s32 G_SHL/ASHR/LSHR on RV64. (#115559)

Commit
1 year ago
[RISCV][GISel] Custom promote s32 G_SHL/ASHR/LSHR on RV64. (#115559) Unless the shift amount is constant. In that case we zero extend the shift amount and promote the other input the same way widenScalar would. I'm not using widenScalar because that requires a separate call for each operand so it was easier to do both operands at once.
Author
Parents
Loading