<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 --- - Regression(r178606): Clang runs out of registers when building libyuv's row_posix for 32bit with -fPIC"
   href="http://llvm.org/bugs/show_bug.cgi?id=15798">15798</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression(r178606): Clang runs out of registers when building libyuv's row_posix for 32bit with -fPIC
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Driver
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </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>Created <span class=""><a href="attachment.cgi?id=10387" name="attach_10387" title="Repro case out.ii">attachment 10387</a> <a href="attachment.cgi?id=10387&action=edit" title="Repro case out.ii">[details]</a></span>
Repro case out.ii

thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang --versionclang version 3.3
(trunk 178606)
Target: x86_64-unknown-linux-gnu
Thread model: posix
thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang  -c out.ii -m32 -fPIC
../../third_party/libyuv/source/row_posix.cc:1825:5: error: ran out of
registers during register allocation
    "movdqa    %[kShuffleMaskARGBToRGB24_0],%%xmm5 \n"
    ^
../../third_party/libyuv/source/row_posix.cc:1880:5: error: ran out of
registers during register allocation
    "movdqa    %[kShuffleMaskARGBToRAW_0],%%xmm5 \n"
    ^
2 errors generated.


Used to work one revision earlier:

thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang --version
clang version 3.3 (trunk 178605)
Target: x86_64-unknown-linux-gnu
Thread model: posix
thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang  -c out.ii -m32 -fPIC
# works



I suppose the workaround is to pass -momit-leaf-frame-pointer, which
effectively reverts r178606 user-side, but the change description doesn't say
why the change was done and the change does regress functionality, so maybe it
should be undone as well.</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>