[LLVMbugs] [Bug 18955] New: Infinite loop in AlwaysInliner pass
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Feb 24 16:44:10 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18955
Bug ID: 18955
Summary: Infinite loop in AlwaysInliner pass
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: anthony.louis.eden at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Attached is a tarball of two LLVM code modules which are nearly identical. When
running
opt -O2 -o bad.bc bad.ll
opt rapidly consumes GiB's of memory and seems to run indefinitely (>10min).
When running
opt -O2 -o good.bc good.ll
opt exits quickly. The difference between the two modules is 599 removals of
the alwaysinline function attribute; therefore I believe the problem is in the
AlwaysInliner pass. I also wrote code to only run the AlwaysInliner pass, and
that produced the same result.
I have also experimentally observed this bug in the LLVM 3.4 and LLVM 3.0
releases.
--
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/20140225/90ee60c0/attachment.html>
More information about the llvm-bugs
mailing list