[RISCV] Add a bit to TSFlags to mark SignExtendingOpW instructions for SExtWRemoval.
Instead of switching on the opcode in SExtWRemoval, we can use a bit in TSFlags. This reduces the amount of code that needs to be generated to implement the switch. The opcodes are scattered throughout the opcode enum, so the switch isn't very densely packed. Reviewed By: asb Differential Revision: https://reviews.llvm.org/D139965
parent
a0b97a42
Please register or sign in to comment