<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:craig.topper@gmail.com" title="Craig Topper <craig.topper@gmail.com>"> <span class="fn">Craig Topper</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Crash in InstrEmitter, Assertion `I != VRBaseMap.end() && "Node emitted out of order - late"'"
   href="https://bugs.llvm.org/show_bug.cgi?id=22614">bug 22614</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>WORKSFORME
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Crash in InstrEmitter, Assertion `I != VRBaseMap.end() && "Node emitted out of order - late"'"
   href="https://bugs.llvm.org/show_bug.cgi?id=22614#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Crash in InstrEmitter, Assertion `I != VRBaseMap.end() && "Node emitted out of order - late"'"
   href="https://bugs.llvm.org/show_bug.cgi?id=22614">bug 22614</a>
              from <span class="vcard"><a class="email" href="mailto:craig.topper@gmail.com" title="Craig Topper <craig.topper@gmail.com>"> <span class="fn">Craig Topper</span></a>
</span></b>
        <pre>I can still reproduce this issue with this test with -pre-RA-sched-linearize

define void @test_urem7_v2i32(<2 x i32>* %x, <2 x i32>* %y) nounwind {
  %a = load <2 x i32>, <2 x i32>* %x
  %b = urem <2 x i32> %a, <i32 7, i32 7>
  store <2 x i32> %b, <2 x i32>* %y
  ret void
}


This appears to be due to lea matching creating a negate operation that may end
up not getting used. <a href="https://reviews.llvm.org/D61047">https://reviews.llvm.org/D61047</a> might address this</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>