[LLVMbugs] [Bug 1692] New: -loop-index-split performs illegal transform

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Sep 20 21:12:44 PDT 2007


           Summary: -loop-index-split performs illegal transform
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Loop Optimizer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu

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

The attached bytecode crashes when run under loop index splitting:

$ opt -loop-index-split b.bc -disable-output
Instruction does not dominate all uses!
        %j.0.i.i = phi i32 [ %tmp39.i.i, %cond_next37.i.i ], [ 0,
%bb40.i.i.loopexit ]          ; <i32> [#uses=4]
        %lsplit.ev = icmp slt i32 %lsplit.add, %j.0.i.i         ; <i1>
Instruction does not dominate all uses!
        %lsplit.ev = icmp slt i32 %lsplit.add, %j.0.i.i         ; <i1>
        %lsplit.ev1 = select i1 %lsplit.ev, i32 %lsplit.add, i32 %j.0.i.i     
; <i32> [#uses=1]
Broken module found, compilation aborted!

To see what opt would have output, pass -disable-verify to opt.

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