<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 - [SKX] fatal error: error in backend: "LLVM ERROR: Cannot select 0x*: v8f32 = bitcast 0x*""
   href="https://bugs.llvm.org/show_bug.cgi?id=36199">36199</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[SKX] fatal error: error in backend: "LLVM ERROR: Cannot select 0x*: v8f32 = bitcast 0x*"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ilia.taraban@intel.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This test fails with "LLVM ERROR: Cannot select: 0x23f5068: v8f32 = bitcast
0x23f4848" in backend:

================= nice.ll ==============

define void @foo() unnamed_addr #0 {
  %1 = fadd <16 x float> undef, undef
  %bc256 = bitcast <16 x float> %1 to <4 x i128>
  %2 = extractelement <4 x i128> %bc256, i32 0
  %3 = bitcast i128 %2 to <4 x float>
  %4 = shufflevector <4 x float> %3, <4 x float> undef, <16 x i32> <i32 0, i32
1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3, i32 0,
i32 1, i32 2, i32 3>
  store <16 x float> %4, <16 x float>* undef, align 4
  ret void
}

attributes #0 = { nounwind uwtable "target-cpu"="skylake-avx512"}

=======================================

<span class="quote">>>> clang -v</span >
clang version 7.0.0 (trunk 323949)
Target: x86_64-unknown-linux-gnu
Thread model: posix
...


<span class="quote">>>> llc nice.ll</span >
LLVM ERROR: Cannot select: 0x36f84a8: v8f32 = bitcast 0x36f7c88
  0x36f7c88: v16f32 = fadd undef:v16f32, undef:v16f32
    0x36f7c20: v16f32 = undef
    0x36f7c20: v16f32 = undef
In function: foo</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>