<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chfast@gmail.com" title="Paweł Bylica <chfast@gmail.com>"> <span class="fn">Paweł Bylica</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Assert in TargetLowering::SimplifySetCC when using intergers >= 256 bits"
   href="https://llvm.org/bugs/show_bug.cgi?id=3976">bug 3976</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;">CC</td>
           <td>
                
           </td>
           <td>chfast@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Assert in TargetLowering::SimplifySetCC when using intergers >= 256 bits"
   href="https://llvm.org/bugs/show_bug.cgi?id=3976#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED --- - Assert in TargetLowering::SimplifySetCC when using intergers >= 256 bits"
   href="https://llvm.org/bugs/show_bug.cgi?id=3976">bug 3976</a>
              from <span class="vcard"><a class="email" href="mailto:chfast@gmail.com" title="Paweł Bylica <chfast@gmail.com>"> <span class="fn">Paweł Bylica</span></a>
</span></b>
        <pre>The assertion failure can still occur.

Test case:
define i1 @test_ult(i256 %a) nounwind {
  %1 = icmp ult i256 %a, -6432394258550908438
  ret i1 %1
}

Possible fix:
<a href="http://reviews.llvm.org/D9147">http://reviews.llvm.org/D9147</a>

If you think Damien's fix is better (using APInt instead of reducing to
int64_t) I can apply it to current code too.</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>