<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 - No vectorization of constraint fptoui"
   href="https://bugs.llvm.org/show_bug.cgi?id=47672">47672</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>No vectorization of constraint fptoui
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>opt
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>thomas.preudhomme@celest.fr
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=24002" name="attach_24002" title="Testcase for vectorization of fptoui">attachment 24002</a> <a href="attachment.cgi?id=24002&action=edit" title="Testcase for vectorization of fptoui">[details]</a></span>
Testcase for vectorization of fptoui

Hi,

Vectorization of constrainted fptoui does not happen with this testcase even
though it would not generate more exceptions. The output when running opt -O2
-S -mtriple aarch64 -mattr=+neon testcase.ll | llc is as follows:

conv_v2f32_to_v2i32:
        ldr     d0, [x0]
        fcvtzu  v0.2s, v0.2s
        str     d0, [x1]
        ret


strict_conv_v2f32_to_v2i32:
        ldp     s0, s1, [x0]
        fcvtzu  w8, s0
        fcvtzu  w9, s1
        stp     w8, w9, [x1]
        ret


Why does the function strict_conv_v2f32_to_v2i32 not generate the same output
as conv_v2f32_to_v2i32?</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>