[LLVMbugs] [Bug 5212] New: llc fails an internal assert with debugging symbols and optimization disabled
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Oct 16 10:47:28 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5212
Summary: llc fails an internal assert with debugging symbols and
optimization disabled
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: santosh.nagarakatte at gmail.com
CC: llvmbugs at cs.uiuc.edu, santosh.nagarakatte at gmail.com
Created an attachment (id=3665)
--> (http://llvm.org/bugs/attachment.cgi?id=3665)
Bugpoint's reduced test case
llc fails with the following assert when compiling spec 2006 benchmark h264
with debugging symbols and optimization turned off.
llc:
/mnt/eclipse/acg/users/santoshn/llvm-2.6/llvm-2.6svn/include/llvm/Analysis/LoopInfo.h:426:
void llvm::LoopBase<N, M>::verifyLoop() conllvm::Loop]: Assertion
`HasInsideLoopSuccs && "Loop block has no in-loop successors!"' failed.
I am trying to compile Spec 2006 benchmark H264 with debugging symbols using
llvm-gcc and llvm-ld.
I compiled each individual file of h264 with the following command line.
llvm-gcc -g -I../../../ -I../../../libutil -c --emit-llvm -msse2 -DSPEC_CPU
-DNDEBUG -DSPEC_CPU_LP64 <filename>.c -o <filename>.bc
Then I created a single module as follows
llvm-ld -disable-opt <<all .bc files> -o spec2k-h264
Then generated native code as follows
llvm-ld -disable-opt -native -lm spec2k-h264.bc -o h264
I get the following error
llc:
/mnt/eclipse/acg/users/santoshn/llvm-2.6/llvm-2.6svn/include/llvm/Analysis/LoopInfo.h:426:
void llvm::LoopBase<N, M>::verifyLoop() conllvm::Loop]: Assertion
`HasInsideLoopSuccs && "Loop block has no in-loop successors!"' failed.
I have attached the reduced .bc file produced by bugpoint
The bug can be reproduced by the following command
llc h264-reduced.bc
I am using llvm from the trunk with revision 83867
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list