Revert "[NPM][CGSCC] FunctionAnalysisManagerCGSCCProxy: do not clear immutable functi...
authorMircea Trofin <mtrofin@google.com>
Fri, 12 Mar 2021 02:29:01 +0000 (18:29 -0800)
committerMircea Trofin <mtrofin@google.com>
Fri, 12 Mar 2021 02:31:19 +0000 (18:31 -0800)
commit11b70b9e3a7458b5b78c30020b56e8ca563a4801
tree41a4c25dba06a9633a5e9744f42386139ee35c85
parent3d039f65015f0e7878b77c542a89493dcdd755d0
Revert "[NPM][CGSCC] FunctionAnalysisManagerCGSCCProxy: do not clear immutable function passes"

This reverts commit 5eaeb0fa67e57391f5584a3f67fdb131e93afda6.

It appears there are analyses that assume clearing - example:
https://lab.llvm.org/buildbot#builders/36/builds/5964
clang/test/CodeGen/thinlto-distributed-newpm.ll
llvm/lib/Analysis/CGSCCPassManager.cpp
llvm/unittests/Analysis/CGSCCPassManagerTest.cpp