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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to