File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
lib/SILOptimizer/Transforms Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 31
31
32
32
#define DEBUG_TYPE " sil-function-signature-opt"
33
33
#include " swift/SILOptimizer/Analysis/ARCAnalysis.h"
34
- #include " swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h"
35
34
#include " swift/SILOptimizer/Analysis/CallerAnalysis.h"
36
35
#include " swift/SILOptimizer/Analysis/EpilogueARCAnalysis.h"
37
36
#include " swift/SILOptimizer/Analysis/RCIdentityAnalysis.h"
@@ -935,9 +934,6 @@ class FunctionSignatureOpts : public SILFunctionTransform {
935
934
auto *RCIA = getAnalysis<RCIdentityAnalysis>();
936
935
auto *EA = PM->getAnalysis <EpilogueARCAnalysis>();
937
936
938
- // Lock BCA so it's not invalidated along with the rest of the call graph.
939
- AnalysisPreserver BCAP (PM->getAnalysis <BasicCalleeAnalysis>());
940
-
941
937
// As we optimize the function more and more, the name of the function is
942
938
// going to change, make sure the mangler is aware of all the changes done
943
939
// to the function.
Original file line number Diff line number Diff line change 19
19
20
20
#include " swift/SIL/SILFunction.h"
21
21
#include " swift/SIL/SILInstruction.h"
22
- #include " swift/SILOptimizer/Analysis/BasicCalleeAnalysis.h"
23
22
#include " swift/SILOptimizer/Utils/Generics.h"
24
23
#include " swift/SILOptimizer/Utils/Local.h"
25
24
#include " swift/SILOptimizer/PassManager/Transforms.h"
@@ -39,9 +38,6 @@ class GenericSpecializer : public SILFunctionTransform {
39
38
DEBUG (llvm::dbgs () << " ***** GenericSpecializer on function:" << F.getName ()
40
39
<< " *****\n " );
41
40
42
- // Lock BCA so it's not invalidated along with the rest of the call graph.
43
- AnalysisPreserver BCAP (PM->getAnalysis <BasicCalleeAnalysis>());
44
-
45
41
if (specializeAppliesInFunction (F))
46
42
invalidateAnalysis (SILAnalysis::InvalidationKind::Everything);
47
43
}
You can’t perform that action at this time.
0 commit comments