<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 - loop unroll pass missed on simple code"
   href="https://bugs.llvm.org/show_bug.cgi?id=47562">47562</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>loop unroll pass missed on simple code
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </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>normal
          </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>bique.alexandre@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23975" name="attach_23975" title="missed-unroll.cc">attachment 23975</a> <a href="attachment.cgi?id=23975&action=edit" title="missed-unroll.cc">[details]</a></span>
missed-unroll.cc

Hi,

Here is a trivial example and loop unroll failed.


20-09-17 17:59:02 abique@knot:~/t/clang> clang -O3 -c missed-unroll.cc 
missed-unroll.cc:8:6: warning: loop not unrolled: the optimizer was unable to
perform the requested transformation; the transformation might be disabled or
specified as part of an unsupported transformation ordering
[-Wpass-failed=transform-warning]
void fct_FAIL(float * __restrict__ a, float * __restrict__ b, float *
__restrict__ c, unsigned len)
     ^
1 warning generated.
20-09-17 17:59:05 abique@knot:~/t/clang> 



Regards,
Alexandre</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>