https://llvm.org/bugs/show_bug.cgi?id=23361

            Bug ID: 23361
           Summary: [AVX512] Cannot select v16i1 = select
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 14259
  --> https://llvm.org/bugs/attachment.cgi?id=14259&action=edit
test case

With the attached test case, if I run "llc -mcpu=knl bug.ll", I get the
following output:

LLVM ERROR: Cannot select: 0x7f84c0892ca0: v16i1 = select 0x7f84c08cfd70,
0x7f84c08975b0, 0x7f84c08995b0 [ORD=4] [ID=44]
  0x7f84c08cfd70: i1 = truncate 0x7f84c0892420 [ORD=3] [ID=41]
    0x7f84c0892420: i8 = X86ISD::SETCC 0x7f84c08d0600, 0x7f84c08d1a40 [ORD=3]
[ID=39]
      0x7f84c08d0600: i8 = Constant<4> [ID=22]
      0x7f84c08d1a40: i32 = X86ISD::CMP 0x7f84c08d0f90, 0x7f84c08d1820 [ORD=3]
[ID=37]
        0x7f84c08d0f90: i16,ch = CopyFromReg 0x7f84c0439030, 0x7f84c08d0930
[ORD=3] [ID=26]
          0x7f84c08d0930: i16 = Register %vreg31 [ID=2]
        0x7f84c08d1820: i16 = Constant<0> [ID=3]
  0x7f84c08975b0: v16i1 = BUILD_VECTOR 0x7f84c08d0820, 0x7f84c08d0820,
0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820,
0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820,
0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820, 0x7f84c08d0820 [ORD=4] [ID=36]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
    0x7f84c08d0820: i1 = TargetConstant<0> [ID=25]
  0x7f84c08995b0: v16i1,ch = CopyFromReg 0x7f84c0439030, 0x7f84c0899390 [ORD=4]
[ID=27]
    0x7f84c0899390: v16i1 = Register %vreg30 [ID=4]
In function:
volume_tile___uniuniuniuniun_3C_unf_3E_un_3C_uni_3E_un_3C_Cunf_5B_4_5D__3E_un_3C_Cunf_5B_4_5D__3E_uniuniun_3C_unf_3E_

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