[LLVMbugs] [Bug 23213] New: Failure to hoist loop invariant
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Apr 13 04:43:52 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23213
Bug ID: 23213
Summary: Failure to hoist loop invariant
Product: libraries
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: bigcheesegs at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 14196
--> https://llvm.org/bugs/attachment.cgi?id=14196&action=edit
Original C++ Code
LLVM fails to properly optimize the attached code from Mike Acton's talk "How
to Write Code the Compiler Can Actually Optimize".
The issue is that Foo::Bar is inlined into Foo::Baz before Foo::Bar has been
optimized, and LICM/SCEV can't handle the resulting double loop.
--
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/20150413/073023c0/attachment.html>
More information about the llvm-bugs
mailing list