[PATCH] D146600: [LoongArch] Enable LoopDataPrefetch pass
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 24 02:15:35 PDT 2023
sdesmalen added a comment.
Hi I'm getting build failures with this patch due to a linker error where it says:
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`
I think this is missing a dependence on `ScalarOpts` in lib/Target/LoongArch/CMakeLists.txt
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146600/new/
https://reviews.llvm.org/D146600
More information about the llvm-commits
mailing list