Add an initial GlobalISel skeleton for RISCV. It can only run ir translator for ret void.
Patch by Andrew Wei
Paths
| Differential D65219
[RISCV GlobalISel] Adding initial GlobalISel infrastructure ClosedPublic Authored by wwei on Jul 24 2019, 9:25 AM.
Details Summary Add an initial GlobalISel skeleton for RISCV. It can only run ir translator for ret void. Patch by Andrew Wei
Diff Detail Event TimelineHerald added subscribers: llvm-commits, Jim, benna and 15 others. · View Herald TranscriptJul 24 2019, 9:25 AM This revision is now accepted and ready to land.Jul 25 2019, 11:17 AM Comment Actions Since there are no generic instructions in test function you can run all globalisel passes for it, not just irtranslator.
Comment Actions Some changes for this update:
Closed by commit rL369467: [RISCV GlobalISel] Adding initial GlobalISel infrastructure (authored by dsanders). · Explain WhyAug 20 2019, 3:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 212113 llvm/lib/Target/RISCV/CMakeLists.txt
llvm/lib/Target/RISCV/LLVMBuild.txt
llvm/lib/Target/RISCV/RISCV.h
llvm/lib/Target/RISCV/RISCV.td
llvm/lib/Target/RISCV/RISCVCallLowering.h
llvm/lib/Target/RISCV/RISCVCallLowering.cpp
llvm/lib/Target/RISCV/RISCVInstructionSelector.cpp
llvm/lib/Target/RISCV/RISCVLegalizerInfo.h
llvm/lib/Target/RISCV/RISCVLegalizerInfo.cpp
llvm/lib/Target/RISCV/RISCVRegisterBankInfo.h
llvm/lib/Target/RISCV/RISCVRegisterBankInfo.cpp
llvm/lib/Target/RISCV/RISCVRegisterBanks.td
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/lib/Target/RISCV/RISCVSubtarget.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/GlobalISel/calllowering-ret.ll
llvm/test/CodeGen/RISCV/GlobalISel/irtranslator-calllowering.ll
|
This defines RISCVInstructionSelector::selectImpl , but it is unused at the moment.