http://llvm.org/bugs/show_bug.cgi?id=13469

             Bug #: 13469
           Summary: llc segfaults on this input.
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 8954
  --> http://llvm.org/bugs/attachment.cgi?id=8954
Reduced testcase from bugpoint

llc segfaults on this input.

I experience this bug with llc from svn revision 160395 (17 July).  Built using
gcc 4.6 on 64-bit gnu/linux.

The module verifier (opt -verify) reports NO problems with this input.

Thanks,
Nick

$ llc bugpoint-reduced-simplified.bc -o bugpoint-reduced-simplified.s
0  llc             0x00000000013f3600
1  llc             0x00000000013f32d6
2  libpthread.so.0 0x00007f0f23d64080
3  llc             0x00000000008cd496
4  llc             0x000000000129fe9e
llvm::BasicBlock::moveBefore(llvm::BasicBlock*) + 48
5  llc             0x00000000010df037
6  llc             0x00000000010df2e8
7  llc             0x00000000010df63b
8  llc             0x00000000010dffb7
9  llc             0x00000000010e0763
10 llc             0x00000000011855c3
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1031
11 llc             0x0000000001383df4
llvm::FPPassManager::runOnFunction(llvm::Function&) + 388
12 llc             0x000000000138400f
llvm::FPPassManager::runOnModule(llvm::Module&) + 107
13 llc             0x000000000138434f
llvm::MPPassManager::runOnModule(llvm::Module&) + 453
14 llc             0x0000000001384881 llvm::PassManagerImpl::run(llvm::Module&)
+ 125
15 llc             0x0000000001384a35 llvm::PassManager::run(llvm::Module&) +
39
16 llc             0x00000000007dc9ea main + 3843
17 libc.so.6       0x00007f0f2305e5a6 __libc_start_main + 230
18 llc             0x00000000007db539
Stack dump:
0.      Program arguments: llc bugpoint-reduced-simplified.bc -o
bugpoint-reduced-simplified.s 
1.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.      Running pass 'Loop Pass Manager' on function '@main'
3.      Running pass 'Loop Strength Reduction' on basic block
'%while.cond.outer.i38'
Segmentation fault

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to