<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CheckAdd/Mul should have commutativity optimizations in B3-&gt;Air lowering"
   href="https://bugs.webkit.org/show_bug.cgi?id=151214#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - CheckAdd/Mul should have commutativity optimizations in B3-&gt;Air lowering"
   href="https://bugs.webkit.org/show_bug.cgi?id=151214">bug 151214</a>
              from <span class="vcard"><a class="email" href="mailto:fpizlo&#64;apple.com" title="Filip Pizlo &lt;fpizlo&#64;apple.com&gt;"> <span class="fn">Filip Pizlo</span></a>
</span></b>
        <pre>While doing this and talking to Ben, I realized that we need to have the notion of a LateUse: a Use that happens after all relevant Def's, i.e. it appears like it's a Use on the instruction following this one.  We need this to handle:

- CheckAdd(&#64;x, &#64;x)
- CheckMul(&#64;x, &#64;y) where the register allocator uses the same register for the result as for the inputs</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>