Previously we used selectImm for RV64 and isel patterns for
RV32. This should be NFC, but will allow RV32 and RV64 to share
improvements in the future. For example, it might be useful to
use BSETI from Zbs to make single bit constants.
Details
Details
- Reviewers
asb luismarques - Commits
- rG839a46d88fc3: [RISCV] Use selectImm for RV32. NFC
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfo.td | ||
---|---|---|
879 | Note these first two patterns don't have IsRV32, but I don't think they were reachable with RV64 since selectImm runs first. |
Note these first two patterns don't have IsRV32, but I don't think they were reachable with RV64 since selectImm runs first.