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

           Summary: Missing VZEXT_MOVL pattern for <4 x i32>
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Testcase:
define <4 x i32> @a(<4 x i32> %a) {
entry:
        %vecext = extractelement <4 x i32> %a, i32 0
        insertelement <4 x i32> zeroinitializer, i32 %vecext, i32 0
        %add = add <4 x i32> %a, %0
        ret <4 x i32> %add
}

Run through llvm-as | llc, prints the following and aborts:
Cannot yet select: 0x8a470c8: v4i32 = X86ISD::VZEXT_MOVL 0x8a473d8

It looks like general patterns are also missing for v8i16 and v16i8; I'm not
completely sure if those are supposed to be legal, though.


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