Keep EnableLoopDataPrefetch option off for now because
we need a few more TTIs and ISels.
This patch is inspired by http://reviews.llvm.org/D17943.
Differential D146600
[LoongArch] Enable LoopDataPrefetch pass XiaodongLoong on Mar 21 2023, 8:08 PM. Authored by
Details
Keep EnableLoopDataPrefetch option off for now because This patch is inspired by http://reviews.llvm.org/D17943.
Diff Detail
Event TimelineComment Actions LGTM except a nit.
Comment Actions 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 Comment Actions
I submit a new patch to fix this issue: https://reviews.llvm.org/D146806. Thanks. |
clang-format not found in user’s local PATH; not linting file.