Instead add RISCVISD opcodes that will be selected to LUI/ADDI
during isel.
I'm looking into maybe moving doPeepholeLoadStoreADDI into isel.
Having the ADDI as a RISCVISD node will make it visible to isel.
Paths
| Differential D127713
[RISCV] Don't emit LUI/ADDI MachineSDNodes from getAddr ClosedPublic Authored by craig.topper on Jun 13 2022, 9:40 PM.
Details Summary Instead add RISCVISD opcodes that will be selected to LUI/ADDI I'm looking into maybe moving doPeepholeLoadStoreADDI into isel.
Diff Detail
Event Timelinecraig.topper added a child revision: D127714: [RISCV] Add RISCVISD opcode for PseudoLLA..Jun 13 2022, 9:41 PM Comment Actions LGTM - mostly I'm deferring to you on the direction. I have no objection here, and the code looks reasonable. I just don't have sufficient context to have any confidence this is or isn't the right approach. This revision is now accepted and ready to land.Jun 15 2022, 1:37 PM This revision was landed with ongoing or failed builds.Jun 16 2022, 3:04 PM Closed by commit rG4191de262f19: [RISCV] Don't emit LUI/ADDI MachineSDNodes from getAddr (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 436638 llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.td
|
clang-format not found in user’s local PATH; not linting file.