This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Add Scalar link component
ClosedPublic

Authored by XiaodongLoong on Mar 24 2023, 5:46 AM.

Details

Summary

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`

Diff Detail

Event Timeline

XiaodongLoong created this revision.Mar 24 2023, 5:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 5:46 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
XiaodongLoong requested review of this revision.Mar 24 2023, 5:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2023, 5:47 AM
sdesmalen accepted this revision.Mar 24 2023, 6:35 AM
This revision is now accepted and ready to land.Mar 24 2023, 6:35 AM

Landing this because my build has been broken for the past few hours.

This revision was automatically updated to reflect the committed changes.