[llvm-bugs] [Bug 42492] [PowerPC] segment fault for bootstrap
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 10 01:06:20 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42492
Chen Zheng (陈 正) <chenzheng1030 at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #6 from Chen Zheng (陈 正) <chenzheng1030 at hotmail.com> ---
https://reviews.llvm.org/D64197 introduces dependancy from Analysis ->
TransformUtils. The left hardeware loop checking code in HardwareLoops pass is
based on existing of loop preheader and if there is no preheader, HardwareLoops
pass inserts one. Inserting a preheader is ok in HardwareLoops pass, but it is
nok in TargetTransformInfo.cpp. TargetTransformInfo.cpp is in Analyses library,
currently it does not depend on TransformUtils library, so we meet symbol
undefined issue if we build with -DBUILD_SHARED_LIBS=ON.
Since the build crash should be fixed by https://reviews.llvm.org/rL365104 and
it is unavoidable that isHardwareLoopCandidate() returns different value in
CanSaveCmp() hook and HardwareLoops pass, I will abandon patch for item 1.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190710/10aa68f4/attachment.html>
More information about the llvm-bugs
mailing list