This patch builds upon D65962, further converting the type of register variables from unsigned to Register. The cases where unsigned remains are either in public interfaces that have not yet been converted or an oversight.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Convert RISCVOperand::KindTy from an enum to an enum class, to avoid collisions with Register.
Comment Actions
I'm pretty happy with this. Just one question to answer (below) and then it can probably be merged.
llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | ||
---|---|---|
19 ↗ | (On Diff #215371) | Do we need this if nothing else in the file has changed? |