<div dir="ltr">The #if 0 will definitely go away, it's pending my followup patch to add moveBefore</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 26, 2017 at 1:31 PM, Davide Italiano 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">davide added a comment.<br>
<br>
I spent a bit of time reviewing this (with particular attention to the marker algorithm) and I think it's correct. Minor comments inline, happy to see this in when George is happy with it.<br>
<br>
<br>
<br>
================<br>
Comment at: include/llvm/Transforms/Utils/<wbr>MemorySSA.h:741-742<br>
<br>
+class MemorySSAUpdater {<br>
+private:<br>
+ MemorySSA *MSSA;<br>
----------------<br>
This is just my personal preference, so ignore it if you don't like, but, what about moving the updater to its own separate file?<br>
<br>
<br>
================<br>
Comment at: unittests/Transforms/Utils/<wbr>MemorySSA.cpp:671<br>
<br>
+#if 0<br>
// Test out MemorySSA::<wbr>spliceMemoryAccessAbove.<br>
----------------<br>
I assume this `#if 0` will go away, right?<br>
<br>
<br>
<a href="https://reviews.llvm.org/D29047" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D29047</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>