<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 - [ppc] llvm.experimental.reduce.{and, any} don't lower properly for boolean vectors"
   href="https://bugs.llvm.org/show_bug.cgi?id=41634">41634</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ppc] llvm.experimental.reduce.{and, any} don't lower properly for boolean vectors
          </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: PowerPC
          </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>gonzalobg88@gmail.com, hfinkel@anl.gov, llvm-bugs@lists.llvm.org, nemanja.i.ibm@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Split off from [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - llvm.experimental.reduce.{and, any} don't lower properly for boolean vectors"
   href="show_bug.cgi?id=36702">Bug #36702</a>], PPC fails to use the 'vec_all_*, vec_any_*'
intrinsic patterns for boolean reduction from generic IR - either with the
llvm.experimental.vector.reduce intrinsics (which expand to a shuffle reduction
chain) or with bitcasts of the comparison result mask:

<a href="https://godbolt.org/z/MyHYBu">https://godbolt.org/z/MyHYBu</a>

Original test case: <a href="https://godbolt.org/g/pKsjVA">https://godbolt.org/g/pKsjVA</a></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>