<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jfonseca@vmware.com" title="Jose Fonseca <jfonseca@vmware.com>"> <span class="fn">Jose Fonseca</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - LLVM no longer honours -stack-alignment=4"
   href="https://llvm.org/bugs/show_bug.cgi?id=21435">bug 21435</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - LLVM no longer honours -stack-alignment=4"
   href="https://llvm.org/bugs/show_bug.cgi?id=21435#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - LLVM no longer honours -stack-alignment=4"
   href="https://llvm.org/bugs/show_bug.cgi?id=21435">bug 21435</a>
              from <span class="vcard"><a class="email" href="mailto:jfonseca@vmware.com" title="Jose Fonseca <jfonseca@vmware.com>"> <span class="fn">Jose Fonseca</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=21435#c15">comment #15</a>)
<span class="quote">> This is over a year old and the attached LLVM IR no longer parses with TOT
> llc.

> llc's command line interface isn't exactly stable or user facing either, so
> I don't think there's anything to do here.</span >

This bug is not specific llc...


I provided the llc command line / IR merely to _facilitate_ reproing and fixing
the bug.


We saw the bug on Mesa + llvmpipe with JIT.




The problem here is that 
LLVM is broken when incoming stack aligment is 4.  You can probably repro the
isse with `clang -mstack-alignment=4` and the right input.



That said, it's clear that nothing happened. So probably nothing will ever
happen.   On Mac and Linux the ABI (both 32 and 64bits) states that stack
alignment is always aligned 16bytes, so this is never a issue.  (Maybe it
matters for Microsoft, since on Windows 32 bits, the stack alignment is
4bytes.)



But, if you don't want to fix, then at very least mark it as WONTFIX.  Closing
as INVALID on the grounds you can't no longer repro is IMO insult to the time I
spent on obtaining a small repro, as per the bug guidelines.


LLVM has very little stable interfaces, so if LLVM devs sleep it long enough
you can close any bug on the basis you can repro...</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>