[LLVMbugs] [Bug 3085] New: "Instruction does not dominate all uses!"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 17 14:33:13 PST 2008


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

           Summary: "Instruction does not dominate all uses!"
           Product: libraries
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sliedes at cc.hut.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2216)
 --> (http://llvm.org/bugs/attachment.cgi?id=2216)
Test case

Running

opt bugpoint-reduced-simplified.bc -loop-extract-single -loop-rotate
-loop-reduce -argpromotion" 

on the attached file causes the error message "Instruction does not dominate
all uses!". Platform is amd64:

$ opt bugpoint-reduced-simplified.bc -loop-extract-single -loop-rotate
-loop-reduce -argpromotion
Instruction does not dominate all uses!
        %lcollect.i.i.i.2 = phi i32 [ %lcollect.i.i.i.1, %bb60.i.i.i ]         
; <i32> [#uses=2]
        %tmp29 = sub i32 0, %lcollect.i.i.i.2           ; <i32> [#uses=1]
Instruction does not dominate all uses!
        %tmp29 = sub i32 0, %lcollect.i.i.i.2           ; <i32> [#uses=1]
        %tmp30 = add i32 %tmp29, 1              ; <i32> [#uses=1]
Instruction does not dominate all uses!
        %tmp30 = add i32 %tmp29, 1              ; <i32> [#uses=1]
        %tmp31 = lshr i32 %tmp30, 1             ; <i32> [#uses=1]
Instruction does not dominate all uses!
        %tmp31 = lshr i32 %tmp30, 1             ; <i32> [#uses=1]
        %tmp32 = add i32 %tmp31, 1              ; <i32> [#uses=1]
Broken module found, compilation aborted!
opt[0x7603af]
/lib/libc.so.6[0x7fce6afdaf60]
/lib/libc.so.6(gsignal+0x35)[0x7fce6afdaed5]
/lib/libc.so.6(abort+0x183)[0x7fce6afdc3f3]
opt[0x7232f0]
opt(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x15b)[0x6ff8ab]
opt[0x613ef0]
opt(_ZN4llvm13MPPassManager11runOnModuleERNS_6ModuleE+0xd0)[0x6ff3d0]
opt(_ZN4llvm15PassManagerImpl3runERNS_6ModuleE+0x86)[0x6ff686]
opt(main+0xa5f)[0x49035f]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fce6afc71a6]
opt(sinh+0x39)[0x485379]
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