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

           Summary: deadarg elimination produces bogus IR
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=2712)
 --> (http://llvm.org/bugs/attachment.cgi?id=2712)
Reduced testcase

Currently, WebKit build is broken due to bug in deadargelim, which produces
bogus IR:

./opt bugpoint-reduced-simplified.bc -deadargelim

Basic Block does not have terminator!
label %invcont2
0   opt       0x0000000000a5fd42
1   opt       0x0000000000a60290
2   libc.so.6 0x00007fd31fb595a0
3   libc.so.6 0x00007fd31fb59535 gsignal + 53
4   libc.so.6 0x00007fd31fb5a9e0 abort + 272
5   opt       0x0000000000a0f0c7
6   opt       0x00000000009ea500
llvm::FPPassManager::runOnFunction(llvm::Function&) + 256
7   opt       0x00000000009ea668
llvm::FPPassManager::runOnModule(llvm::Module&) + 82
8   opt       0x00000000009e9007
llvm::MPPassManager::runOnModule(llvm::Module&) + 203
9   opt       0x00000000009ea963 llvm::PassManagerImpl::run(llvm::Module&) +
111
10  opt       0x00000000009ea9c5 llvm::PassManager::run(llvm::Module&) + 33
11  opt       0x00000000006ee5b6 main + 3946
12  libc.so.6 0x00007fd31fb464a4 __libc_start_main + 244
13  opt       0x00000000006de319
Stack dump:
0.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
1.      Running pass 'Preliminary module verification' on function
'@_ZN7WebCore16SVGRootInlineBox36computePerCharacterLayoutInformationEv'


-- 
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