<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - replacing variable by a constant breaks add-with-carry (adc) and subtract-with-borrow (sbb) optimization"
   href="https://bugs.llvm.org/show_bug.cgi?id=31754">bug 31754</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">See Also</td>
           <td>
                
           </td>
           <td>https://bugs.llvm.org/show_bug.cgi?id=40825
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Fixed By Commit(s)</td>
           <td>352210
           </td>
           <td>352210, 354746
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>CONFIRMED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - replacing variable by a constant breaks add-with-carry (adc) and subtract-with-borrow (sbb) optimization"
   href="https://bugs.llvm.org/show_bug.cgi?id=31754#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - replacing variable by a constant breaks add-with-carry (adc) and subtract-with-borrow (sbb) optimization"
   href="https://bugs.llvm.org/show_bug.cgi?id=31754">bug 31754</a>
              from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
        <pre>(In reply to Simon Pilgrim from <a href="show_bug.cgi?id=31754#c10">comment #10</a>)
<span class="quote">> <a href="https://godbolt.org/z/vMyJNI">https://godbolt.org/z/vMyJNI</a>

> Of Vincent's original sub/add cases only the add1 looks like its still
> having problems.</span >

That's the last problem that I was tracking for this report too.
Should be fixed after:
<a href="https://reviews.llvm.org/rL354746">https://reviews.llvm.org/rL354746</a>

Feel free to reopen and/or file new bugs (like <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [x86-64] Suboptimal codegen on uint128 negation"
   href="show_bug.cgi?id=40825">bug 40825</a>) for missing pieces.</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>