<div dir="ltr"><div dir="ltr">I fixed the recursion entirely inĀ <a href="https://reviews.llvm.org/D52760">https://reviews.llvm.org/D52760</a>. Hopefully get that committed later today.<br clear="all"><div><div dir="ltr" class="gmail_signature">~Craig</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 4, 2018 at 12:37 PM Michael Kruse <<a href="mailto:llvmdev@meinersbur.de">llvmdev@meinersbur.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Mi., 26. Sep. 2018 um 18:03 Uhr schrieb Craig Topper via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>>:<br>
> Should we instead be recursing to the run function on the current SimplifyCFGOpt object?<br>
<br>
Any chance to get rid of this kind of recursion entirely? If this is<br>
too much work, reusing the same pass instance instead of creating a<br>
new one sounds appropriate to me.<br>
<br>
Michael<br>
</blockquote></div>