[LLVMbugs] [Bug 4251] New: indvars: Instruction does not dominate all uses!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat May 23 04:47:14 PDT 2009


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

           Summary: indvars: Instruction does not dominate all uses!
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3016)
 --> (http://llvm.org/bugs/attachment.cgi?id=3016)
reduced .bc

When compiling vim with clang at -O2 using SVN r72324 it crashes.

Bugpoint reduced the testcase to:
$ opt -indvars bugpoint-reduced-simplified.bc
Instruction does not dominate all uses!
        %exitcond = icmp eq i32 %indvar.next, 3         ; <i1> [#uses=2]
        %conv837 = zext i1 %exitcond to i32             ; <i32> [#uses=0]
Broken module found, compilation aborted!                                
0   opt             0x00000000007c844f                                   
1   opt             0x00000000007c8849                                   
2   libpthread.so.0 0x0000003b0a80e7b0                                   
3   libc.so.6       0x0000003b09c32065 gsignal + 53                      
4   libc.so.6       0x0000003b09c35153 abort + 387                       
5   opt             0x000000000078963a
6   opt             0x0000000000762d89
llvm::FPPassManager::runOnFunction(llvm::Function&) + 489
7   opt             0x0000000000762f32
llvm::FPPassManager::runOnModule(llvm::Module&) + 50
8   opt             0x000000000076052d
llvm::MPPassManager::runOnModule(llvm::Module&) + 301
9   opt             0x0000000000760eb0
llvm::PassManagerImpl::run(llvm::Module&) + 160
10  opt             0x00000000004a66e0 main + 1488
11  libc.so.6       0x0000003b09c1e5a6 __libc_start_main + 230
12  opt             0x000000000049b3a9
Stack dump:
0.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
1.      Running pass 'Module Verifier' on function '@write_vim_spell'
Aborted


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