[RISCV] Teach RISCVDAGToDAGISel::selectShiftMask to bypass adds with constant.
If the shift amount is (add X, C) where C is 0 modulo the size of the shift, we can bypass the add. Similar to other targets like AArch64 and X86.
Loading
Please sign in to comment