This patch registers the 'loongarch32' and 'loongarch64' targets. Also adds a
simple testcase to check the output of llc --vesion containing the targets.
Depends on D115859
Paths
| Differential D115860
[LoongArch 3/6] Add target stub for LoongArch ClosedPublic Authored by SixWeining on Dec 16 2021, 12:50 AM.
Details
Diff Detail
Event TimelineSixWeining added a child revision: D115861: [LoongArch 4/6] Add basic tablegen infra for LoongArch.Dec 16 2021, 12:51 AM SixWeining retitled this revision from [LoongArch 3/n] Add target stub for LoongArch to [LoongArch 3/5] Add target stub for LoongArch.Dec 17 2021, 7:56 PM Comment Actions Minimalistic structure, seems ok.
Comment Actions address comments from @rengolin
SixWeining retitled this revision from [LoongArch 3/5] Add target stub for LoongArch to [LoongArch 3/6] Add target stub for LoongArch.Dec 22 2021, 5:09 PM This revision is now accepted and ready to land.Feb 8 2022, 3:23 AM Comment Actions For the record: this patch LGTM. (It's hard to get wrong on stub implementations indeed!) This revision was landed with ongoing or failed builds.Feb 10 2022, 2:24 AM Closed by commit rG444c6d261a91: [LoongArch 3/6] Add target stub for LoongArch (authored by SixWeining, committed by rengolin). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 394777 llvm/CODE_OWNERS.TXT
llvm/docs/CompilerWriterInfo.rst
llvm/lib/Target/LoongArch/CMakeLists.txt
llvm/lib/Target/LoongArch/LoongArchTargetMachine.h
llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp
llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt
llvm/lib/Target/LoongArch/TargetInfo/LoongArchTargetInfo.h
llvm/lib/Target/LoongArch/TargetInfo/LoongArchTargetInfo.cpp
|
Do you need this? As far as I can tell, the LoongArch target doesn't use GlobalISel.