[PATCH] D146806: [LoongArch] Add Scalar link component
Xiaodong Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 24 05:47:03 PDT 2023
XiaodongLoong created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
XiaodongLoong requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fix the lld link error on ppc64le builders:
ld.lld: error: undefined symbol: llvm::createLoopDataPrefetchPass()
>>> referenced by LoongArchTargetMachine.cpp
>>> lib/Target/LoongArch/CMakeFiles/LLVMLoongArchCodeGen.dir/LoongArchTargetMachine.cpp.o:((anonymous namespace)::LoongArchPassConfig::addIRPasses())
collect2: error: ld returned 1 exit status`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146806
Files:
llvm/lib/Target/LoongArch/CMakeLists.txt
Index: llvm/lib/Target/LoongArch/CMakeLists.txt
===================================================================
--- llvm/lib/Target/LoongArch/CMakeLists.txt
+++ llvm/lib/Target/LoongArch/CMakeLists.txt
@@ -35,6 +35,7 @@
MC
LoongArchDesc
LoongArchInfo
+ Scalar
SelectionDAG
Support
Target
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146806.508062.patch
Type: text/x-patch
Size: 311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230324/ca3a4893/attachment.bin>
More information about the llvm-commits
mailing list