[LLVMbugs] [Bug 14204] New: Cannot select X86ISD::VZEXT

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 29 09:43:39 PDT 2012


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

             Bug #: 14204
           Summary: Cannot select X86ISD::VZEXT
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: michael.m.kuperstein at intel.com
                CC: llvmbugs at cs.uiuc.edu, michael.liao at intel.com
    Classification: Unclassified


Compiling the following:

define <8 x i32> @foo(<8 x i1> %bar) nounwind readnone {
entry:
  %s = sext <8 x i1> %bar to <8 x i32>
  ret <8 x i32> %s
}

With llc +mattr=avx2, the result is:

LLVM ERROR: Cannot select: 0xb2c250: v8i32 = X86ISD::VZEXT 0xb2cc50 [ID=12]
  0xb2cc50: v16i16 = insert_subvector 0xb2ee50, 0xb2eb50, 0xb2f150 [ID=11]
    0xb2ee50: v16i16 = undef [ID=6]
    0xb2eb50: v8i16 = bitcast 0xb2cb50 [ID=10]
      0xb2cb50: v2i64,ch = load 0xaf8de0, 0xb2bf50, 0xb2c050<LD16[<unknown>]>
[ID=9]
        0xb2bf50: i64,ch = CopyFromReg 0xaf8de0, 0xb2be50 [ORD=1] [ID=8]
          0xb2be50: i64 = Register %vreg0 [ORD=1] [ID=1]
        0xb2c050: i64 = undef [ORD=1] [ID=2]
    0xb2f150: i64 = Constant<0> [ID=7]

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