<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [AVX512] LLVM ERROR: Cannot select: t54: v8f64 = vselect t46, undef:v8f64, t17"
   href="https://bugs.llvm.org/show_bug.cgi?id=34139">34139</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[AVX512] LLVM ERROR: Cannot select: t54: v8f64 = vselect t46, undef:v8f64, t17
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>babokin@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>clang version 6.0.0 (trunk 310421)

<span class="quote">> cat bugpoint-reduced-simplified.ll</span >
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "bugpoint-output-19a0c4b.bc"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind
define void @f_f() #0 {
allocas:
  store <16 x i8> <i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8
-1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1>, <16 x i8>* undef
  %load_mask8.i.i.i = load <16 x i8>, <16 x i8>* undef
  %v.i.i.i.i = load <16 x double>, <16 x double>* undef
  %mask_vec_i1.i.i.i51.i.i = icmp ne <16 x i8> %load_mask8.i.i.i,
zeroinitializer
  %v1.i.i.i.i = select <16 x i1> %mask_vec_i1.i.i.i51.i.i, <16 x double> undef,
<16 x double> %v.i.i.i.i
  store <16 x double> %v1.i.i.i.i, <16 x double>* undef
  unreachable
}

attributes #0 = { nounwind }

!llvm.module.flags = !{!0}

!0 = !{i32 1, !"wchar_size", i32 4}


<span class="quote">> llc -O2 -mcpu=knl bugpoint-reduced-simplified.bc</span >
LLVM ERROR: Cannot select: t54: v8f64 = vselect t46, undef:v8f64, t17
  t46: v8i64 = bitcast t45
    t45: v16i32 = BUILD_VECTOR Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>, Constant:i32<-1>,
Constant:i32<-1>, Constant:i32<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
      t44: i32 = Constant<-1>
  t16: v8f64 = undef
  t17: v8f64,ch = load<LD64[undef(align=128)+64](align=64)> t49, undef:i64,
undef:i64
    t3: i64 = undef
    t3: i64 = undef
In function: f_f</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>