Rather than emitting a MachineSDNode from lowering. Let isel match it.
This is consistent with the RISCVISD::HI and ADD_LO nodes that were
also added. Having them both the same will make D127679 consistent.
Paths
| Differential D127714
[RISCV] Add RISCVISD opcode for PseudoLLA. ClosedPublic Authored by craig.topper on Jun 13 2022, 9:41 PM.
Details Summary Rather than emitting a MachineSDNode from lowering. Let isel match it. This is consistent with the RISCVISD::HI and ADD_LO nodes that were
Diff Detail
Event Timelinecraig.topper added a parent revision: D127713: [RISCV] Don't emit LUI/ADDI MachineSDNodes from getAddr.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:36 PM This revision was landed with ongoing or failed builds.Jun 16 2022, 3:15 PM Closed by commit rG5afdceb82b92: [RISCV] Add RISCVISD opcode for PseudoLLA. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions (Catching up from being away on holiday). This committed patch and the related changes all seem like a good direction to me. Thanks Craig.
Revision Contents
Diff 437728 llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.td
|