[LLVMbugs] [Bug 6806] New: Codegen regression "Instruction does not dominate all uses!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 9 04:40:56 PDT 2010


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

           Summary: Codegen regression "Instruction does not dominate all
                    uses!"
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


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

The dragonegg self-host build broke recently, due to this recent regression
(occurs while building SelectionDAGBuilder).  Here's the bugpoint reduced
testcase:

$ llc domcrash.bc
Instruction does not dominate all uses!
  %uglygep78 = bitcast i8* %uglygep7 to %"struct CaseBits&" ; <%"struct
CaseBits&"> [#uses=1]
  %1 = bitcast %"struct CaseBits&" %uglygep78 to i8* ; <i8*> [#uses=2]
Instruction does not dominate all uses!
  %1 = bitcast %"struct CaseBits&" %uglygep78 to i8* ; <i8*> [#uses=2]
  %uglygep4 = getelementptr i8* %1, i64 16        ; <i8*> [#uses=1]
Instruction does not dominate all uses!
  %uglygep4 = getelementptr i8* %1, i64 16        ; <i8*> [#uses=1]
  %uglygep45 = bitcast i8* %uglygep4 to %"struct CaseBits&" ; <%"struct
CaseBits&"> [#uses=1]
Instruction does not dominate all uses!
  %uglygep45 = bitcast i8* %uglygep4 to %"struct CaseBits&" ; <%"struct
CaseBits&"> [#uses=1]
  %uglygep456 = bitcast %"struct CaseBits&" %uglygep45 to i8* ; <i8*> [#uses=1]
Instruction does not dominate all uses!
  %uglygep456 = bitcast %"struct CaseBits&" %uglygep45 to i8* ; <i8*> [#uses=1]
  %uglygep7 = getelementptr i8* %uglygep456, i64 -16 ; <i8*> [#uses=1]
Instruction does not dominate all uses!
  %uglygep7 = getelementptr i8* %uglygep456, i64 -16 ; <i8*> [#uses=1]
  %uglygep78 = bitcast i8* %uglygep7 to %"struct CaseBits&" ; <%"struct
CaseBits&"> [#uses=1]
Instruction does not dominate all uses!
  %1 = bitcast %"struct CaseBits&" %uglygep78 to i8* ; <i8*> [#uses=2]
  %uglygep = getelementptr i8* %1, i64 16         ; <i8*> [#uses=1]
Instruction does not dominate all uses!
  %uglygep = getelementptr i8* %1, i64 16         ; <i8*> [#uses=1]
  %scevgep2 = getelementptr i8* %uglygep, i64 %lsr.iv ; <i8*> [#uses=1]
Instruction does not dominate all uses!
  %scevgep2 = getelementptr i8* %uglygep, i64 %lsr.iv ; <i8*> [#uses=1]
  %scevgep23 = bitcast i8* %scevgep2 to i32*      ; <i32*> [#uses=1]
Instruction does not dominate all uses!
  %scevgep23 = bitcast i8* %scevgep2 to i32*      ; <i32*> [#uses=1]
  store i32 undef, i32* %scevgep23, align 4
Broken module found, compilation 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