I fixed the recursion entirely in https://reviews.llvm.org/D52760. Hopefully get that committed later today. ~Craig On Thu, Oct 4, 2018 at 12:37 PM Michael Kruse <llvmdev at meinersbur.de> wrote: > Am Mi., 26. Sep. 2018 um 18:03 Uhr schrieb Craig Topper via llvm-dev > <llvm-dev at lists.llvm.org>: > > Should we instead be recursing to the run function on the current > SimplifyCFGOpt object? >> Any chance to get rid of this kind of recursion entirely? If this is > too much work, reusing the same pass instance instead of creating a > new one sounds appropriate to me. >> Michael >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181004/33ae6b01/attachment.html>