[PATCH] D84959: [NewPM][LVI] Abandon LVI after CVP
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 1 09:30:08 PDT 2020
tejohnson accepted this revision.
tejohnson added a comment.
In D84959#2188870 <https://reviews.llvm.org/D84959#2188870>, @nikic wrote:
> I don't really know what the tradeoff would be between using abandon() here and using InvalidateAnalysisPass. I went with this variant as @asbirlea indicated in https://reviews.llvm.org/D70376#2151283 that this would be preferred, as InvalidateAnalysisPass is really more intended for testing purposes.
Yep, agree this is a good approach for now at least. Since the require is in CVP, logically it makes sense to abandon it there too. The only advantage of doing it in the pass pipeline setup would be if it made sense to abandoning it once after both CVP invocations, but that might not avoid the memory and compile time issues.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84959/new/
https://reviews.llvm.org/D84959
More information about the llvm-commits
mailing list