[LLVMbugs] [Bug 8924] New: /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:784: llvm::SDValue<unnamed>::SelectionDAGLegalize::LegalizeOp(llvm::SDValue): Assertion `getTypeAction(Node->getValueType(i)) == Legal && "Unexpected illegal type!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 6 15:59:49 PST 2011


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

           Summary: /lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:784:
                    llvm::SDValue<unnamed>::SelectionDAGLegalize::Legalize
                    Op(llvm::SDValue): Assertion
                    `getTypeAction(Node->getValueType(i)) == Legal &&
                    "Unexpected illegal type!"' failed.
           Product: libraries
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nadav.rotem at intel.com
                CC: llvmbugs at cs.uiuc.edu


We hit the assertion above on the code below. Tested on LLVM 2.8 on Windows and
Linux. 

define void @m387() nounwind {
  %1 = load <4 x i64> addrspace(1)* undef, align 32
  %temp.vect37 = shufflevector <4 x i64> undef, <4 x i64> %1, <4 x i32> <i32 0,
i32 1, i32 2, i32 6>
  %2 = mul <4 x i64> zeroinitializer, %temp.vect37
  %3 = shufflevector <4 x i64> undef, <4 x i64> %2, <4 x i32> <i32 0, i32 1,
i32 7, i32 undef>
  %4 = shufflevector <4 x i64> %3, <4 x i64> undef, <4 x i32> <i32 0, i32 1,
i32 2, i32 7>
  store <4 x i64> %4, <4 x i64> addrspace(1)* undef, align 32
  ret void
}

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