<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 - lowerVectorShuffleByMerging128BitLanes - Detected cycle in SelectionDAG"
   href="https://bugs.llvm.org/show_bug.cgi?id=38639">38639</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lowerVectorShuffleByMerging128BitLanes - Detected cycle in SelectionDAG
          </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>Windows NT
          </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>llvm-dev@redking.me.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>craig.topper@gmail.com, douglas_yung@playstation.sony.com, greg.bedwell@sony.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>D41794 is causing this fuzz test regression:

define <8 x double> @test(<4 x double> %a, <4 x double> %b) {
  %1 = shufflevector <4 x double> %a, <4 x double> <double undef, double
0x3FEA435134576E1C, double 0x3FEA435134576E1C, double 0x3FEA435134576E1C>, <8 x
i32> <i32 6, i32 5, i32 2, i32 3, i32 5, i32 1, i32 3, i32 7>
  ret <8 x double> %1
}

llc -mcpu=btver2

Detected cycle in SelectionDAG
Offending node:
t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
  t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
    t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
      t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
        t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
          t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
            t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
              t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
                t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26
                  t27: v4f64 = vector_shuffle<0,5,2,7> t27, t26</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>