<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:paul_robinson@playstation.sony.com" title="Paul Robinson <paul_robinson@playstation.sony.com>"> <span class="fn">Paul Robinson</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Inline asm miscompile (test segfaults)"
   href="https://bugs.llvm.org/show_bug.cgi?id=50943">bug 50943</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Inline asm miscompile (test segfaults)"
   href="https://bugs.llvm.org/show_bug.cgi?id=50943#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Inline asm miscompile (test segfaults)"
   href="https://bugs.llvm.org/show_bug.cgi?id=50943">bug 50943</a>
              from <span class="vcard"><a class="email" href="mailto:paul_robinson@playstation.sony.com" title="Paul Robinson <paul_robinson@playstation.sony.com>"> <span class="fn">Paul Robinson</span></a>
</span></b>
        <pre>(In reply to Craig Topper from <a href="show_bug.cgi?id=50943#c3">comment #3</a>)
<span class="quote">> I'm not sure there's an alignment requirement for that array other than what
> is implied by float. Versions of gcc prior to 5 use align 16 with -Os and
> align 32 with -O2.

> Adding __attribute__ ((aligned (32))) to the struct definition also appears
> to fix the crash.</span >

I was coming to the same conclusion.  I threw in some alignof() expressions
and they all report 4.  Pumping up the alignment in the generated code seems
rather optional.

I'll resolve this as invalid and we'll patch the test to enforce the required
alignment.</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>