<html>
    <head>
      <base href="http://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 --- - Vector extract placement causes 37% regression on fp-convert."
   href="http://llvm.org/bugs/show_bug.cgi?id=19258">19258</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Vector extract placement causes 37% regression on fp-convert.
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>PC
          </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>atrick@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This LNT tester:
<a href="http://llvm.org/perf/db_default/v4/nts/graph?plot.0=34.161.2&highlight_run=23986">http://llvm.org/perf/db_default/v4/nts/graph?plot.0=34.161.2&highlight_run=23986</a>

Showed a 37% regression on fp-convert after this checkin:

---
Author: atrick
Date: Mon Mar 24 21:18:47 2014
New Revision: 204699

URL: <a href="http://llvm.org/viewvc/llvm-project?rev=204699&view=rev">http://llvm.org/viewvc/llvm-project?rev=204699&view=rev</a>
Log:
SLP vectorizer: Don't hoist vector extracts of phis.

Extracts coming from phis were being hoisted, while all others were
sunk to their uses. This was inconsistent and didn't seem to serve a
purpose. Changing all extracts to be sunk to uses is a prerequisite
for adding block frequency to the SLP vectorizer's cost model.
---

My own benchmarking on darwin/x86_64/sandybridge showed a slight improvement
after this checkin: (2.6 vs 2.8s).

If someone can reproduce the regression and show what caused it, we should
definitely teach the vectorizer to avoid the problem.</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>