Rather than using operator[] on getFeatureBits we can use
hasFeature to shorten the code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144300
[RISCV] Use MCSubtargetInfo::hasFeature where possible. NFC ClosedPublic Authored by craig.topper on Feb 17 2023, 2:01 PM.
Details Summary Rather than using operator[] on getFeatureBits we can use
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 17 2023, 2:18 PM This revision was landed with ongoing or failed builds.Feb 17 2023, 2:38 PM Closed by commit rG34aff47521c3: [RISCV] Use MCSubtargetInfo::hasFeature where possible. NFC (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 498509 llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
|