[llvm-bugs] [Bug 25193] New: [AVX-512] LLVM ERROR: Cannot select

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 15 07:59:21 PDT 2015


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

            Bug ID: 25193
           Summary: [AVX-512] LLVM ERROR: Cannot select
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: shishpanov2010 at yandex.ru
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15082
  --> https://llvm.org/bugs/attachment.cgi?id=15082&action=edit
Source IR, which causes the error.

The out from llc:

LLVM ERROR: Cannot select: t152: i1 = select_cc undef:i32, t235, t187, t190,
seteq:ch
  t19: i32 = undef
  t235: i32 = extract_vector_elt t233, Constant:i32<1>
    t233: v4i32 = extract_subvector t77, Constant:i32<0>
      t77: v16i32 = bitcast t31
        t31: v8i64 = shl t28, t364
          t28: v8i64 = bitcast t27
            t27: v16i32 = BUILD_VECTOR Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>, Constant:i32<0>, Constant:i32<0>,
Constant:i32<0>, Constant:i32<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
              t25: i32 = Constant<0>
          t364: v8i64,ch = load<LD64[ConstantPool]> t0, t256, undef:i32
            t256: i32 = X86ISD::Wrapper TargetConstantPool:i32<<16 x i32> <i32
32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32,
i32 0, i32 32, i32 0, i32 32, i32 0>> 0
              t255: i32 = TargetConstantPool<<16 x i32> <i32 32, i32 0, i32 32,
i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32 0, i32 32, i32
0, i32 32, i32 0>> 0
            t19: i32 = undef
      t25: i32 = Constant<0>
    t47: i32 = Constant<1>
  t187: i1 = truncate t362
    t362: i8 = and t361, Constant:i8<1>
      t361: i8 = X86ISD::SETCC_CARRY Constant:i8<2>, t184:1
        t185: i8 = Constant<2>
        t184: i32,i32 = X86ISD::SUB undef:i32, t234
          t19: i32 = undef
          t234: i32 = extract_vector_elt t233, Constant:i32<0>
            t233: v4i32 = extract_subvector t77, Constant:i32<0>
              t77: v16i32 = bitcast t31
                t31: v8i64 = shl t28, t364
                  t28: v8i64 = bitcast t27

                  t364: v8i64,ch = load<LD64[ConstantPool]> t0, t256, undef:i32


              t25: i32 = Constant<0>
            t25: i32 = Constant<0>
      t301: i8 = Constant<1>
  t190: i1 = truncate t358
    t358: i8 = and t357, Constant:i8<1>
      t357: i8 = X86ISD::SETCC_CARRY Constant:i8<2>, t188:1
        t185: i8 = Constant<2>
        t188: i32,i32 = X86ISD::SUB undef:i32, t235
          t19: i32 = undef
          t235: i32 = extract_vector_elt t233, Constant:i32<1>
            t233: v4i32 = extract_subvector t77, Constant:i32<0>
              t77: v16i32 = bitcast t31
                t31: v8i64 = shl t28, t364
                  t28: v8i64 = bitcast t27

                  t364: v8i64,ch = load<LD64[ConstantPool]> t0, t256, undef:i32


              t25: i32 = Constant<0>
            t47: i32 = Constant<1>
      t301: i8 = Constant<1>
In function: f_fu

keys for llc: -mcpu=knl -march=x86

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151015/ab7f380c/attachment-0001.html>


More information about the llvm-bugs mailing list