[PATCH] D22378: Make processInstruction from LCSSA.cpp externally available.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 21:45:49 PDT 2016


chandlerc added a comment.

I think you need to accept the worklist as an argument, so that the cache (and exit blocks) can be shared across what are in this patch repeated top-level invocations (in addition to the recursive aspect).

Essentially, we should walk the loop push each instruction into a worklist, and then call this routine on that to process it until all the instructions are in LCSSA form.


https://reviews.llvm.org/D22378





More information about the llvm-commits mailing list