<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - SLPVectorizer misses a vectorization opportunity BBVectorizer doesn't"
   href="https://llvm.org/bugs/show_bug.cgi?id=25085">25085</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SLPVectorizer misses a vectorization opportunity BBVectorizer doesn't
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.7
          </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>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>pekka.jaaskelainen@tut.fi
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15017" name="attach_15017" title="LLVM IR without BBVectorizer">attachment 15017</a> <a href="attachment.cgi?id=15017&action=edit" title="LLVM IR without BBVectorizer">[details]</a></span>
LLVM IR without BBVectorizer

Attached are two .ll files from pocl kernel compiler after parallel region
formation.  I have marked "See here" in parallel-bbvectorize.ll to the first
place where I spotted a vectorized instruction which wasn't in
parallel-no-bbvectorize.ll. 

This is from NBody case from AMD SDK.  It causes a major performance regression
in case BBVectorizer is disabled.

See the pocl bug <a href="https://github.com/pocl/pocl/issues/251">https://github.com/pocl/pocl/issues/251</a>

Is this helpful in fixing the issue? Let me know if you want me to try and
patches.</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>