<div dir="ltr">Thanks for taking a look.<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 12, 2017 at 2:50 PM, Quentin Colombet via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">qcolombet added a comment.<br>
<br>
Hi Wei,<br>
<br>
Could you write a .mir test instead of a .ll one?<br>
You should be able to get your input with `llc -stop-before=regalloc` or something like that.<br></blockquote><div><br></div><div>Ok, I will add the .mir test.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
In the assumption I would add that because of:<br>
<span class=""><br>
> we require that BB1 has only one successor so we always move a copy to a colder place.<br>
<br>
</span>and<br>
<span class=""><br>
> No B is referenced from the start of BB2 to B = A.<br>
<br>
</span>We know that B is not defined at the end of BB1, which is otherwise a requirement.<br></blockquote><div><br></div><div>That is true. Will add that in the comments.</div><div><br></div><div>Thanks,</div><div>Wei.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'll have a look at the patch later, unless Matthias beats me at it.<br>
<br>
Cheers,<br>
-Quentin<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D28585" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D28585</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>