[PATCH] D21921: [proof of concept] Port old PM CGSCC visitation logic to new PM

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 15:06:33 PDT 2016


silvas added a comment.

Sorry I didn't mention this earlier, but the basic idea here is:

1. The outer loop of CGPassManager::runOnModule and CGPassManager::RunAllPassesOnSCC goes in ModuleToPostOrderCGSCCPassAdaptor
2. CGPassManager::RunPassOnSCC goes in the CGSCCToFunctionPassAdaptor

The rest is pretty much just fallout from doing that.


http://reviews.llvm.org/D21921





More information about the llvm-commits mailing list