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 216278 llvm/trunk/lib/Target/RISCV/CMakeLists.txt
llvm/trunk/lib/Target/RISCV/LLVMBuild.txt
llvm/trunk/lib/Target/RISCV/RISCV.h
llvm/trunk/lib/Target/RISCV/RISCV.td
llvm/trunk/lib/Target/RISCV/RISCVCallLowering.h
llvm/trunk/lib/Target/RISCV/RISCVCallLowering.cpp
llvm/trunk/lib/Target/RISCV/RISCVInstructionSelector.cpp
llvm/trunk/lib/Target/RISCV/RISCVLegalizerInfo.h
llvm/trunk/lib/Target/RISCV/RISCVLegalizerInfo.cpp
llvm/trunk/lib/Target/RISCV/RISCVRegisterBankInfo.h
llvm/trunk/lib/Target/RISCV/RISCVRegisterBankInfo.cpp
llvm/trunk/lib/Target/RISCV/RISCVRegisterBanks.td
llvm/trunk/lib/Target/RISCV/RISCVSubtarget.h
llvm/trunk/lib/Target/RISCV/RISCVSubtarget.cpp
llvm/trunk/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/trunk/test/CodeGen/RISCV/GlobalISel/calllowering-ret.ll
llvm/trunk/test/CodeGen/RISCV/GlobalISel/irtranslator-calllowering.ll
|