<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 - SLP vectorizer doesn't obey llvm.loop.vectorize.width=1"
   href="https://bugs.llvm.org/show_bug.cgi?id=43553">43553</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SLP vectorizer doesn't obey llvm.loop.vectorize.width=1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Loop Optimizer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>husseydevin@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Follow up to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - #pragma clang loop vectorize(disable) should actually disable vectorization"
   href="show_bug.cgi?id=43539">bug 43539</a>. Code example is there.

The SLP vectorizer (plus any other passes that emit SIMD code) should always
obey the llvm.loop.vectorize.width=1 (emitted by #pragma clang loop
vectorize(disable)) or llvm.loop.vectorize.enable=false.

Currently, what happens on non-trivial loops is that the loop optimizer will
unroll (and/or interleave) the loop, and SLP will vectorize the unrolled loop.

Enabled or disabled, the loop ends up being vectorized, making this
annotation/pragma useless.</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>