<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:timshen91@gmail.com" title="Tim Shen <timshen91@gmail.com>"> <span class="fn">Tim Shen</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Load from a local value is not hoisted outside of the loop when the value is populated via sret pointer"
   href="https://bugs.llvm.org/show_bug.cgi?id=36387">bug 36387</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>WONTFIX
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Load from a local value is not hoisted outside of the loop when the value is populated via sret pointer"
   href="https://bugs.llvm.org/show_bug.cgi?id=36387#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Load from a local value is not hoisted outside of the loop when the value is populated via sret pointer"
   href="https://bugs.llvm.org/show_bug.cgi?id=36387">bug 36387</a>
              from <span class="vcard"><a class="email" href="mailto:timshen91@gmail.com" title="Tim Shen <timshen91@gmail.com>"> <span class="fn">Tim Shen</span></a>
</span></b>
        <pre>GCC 4.9.2 -O2, wrong result: <a href="https://wandbox.org/permlink/RmtgF6vuTH44qCx2">https://wandbox.org/permlink/RmtgF6vuTH44qCx2</a>
LLVM trunk -O2, correct result: <a href="https://wandbox.org/permlink/HclAKkJYahXYxKD8">https://wandbox.org/permlink/HclAKkJYahXYxKD8</a>

The GCC optimization may cause miscompile. Mark as WAI.</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>