diff options
author | Eric Christopher <echristo@gmail.com> | 2018-09-20 05:16:29 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2018-09-20 05:16:29 +0000 |
commit | 019889374b0082100913e9332509e58a0e00678f (patch) | |
tree | 37d13c9723355e0f1eff2cf11bfed680ac94803b /llvm/unittests/IR/PassManagerTest.cpp | |
parent | ec1efe4ee36c82dd4a6f5ed8066bbd4c4795a348 (diff) | |
download | bcm5719-llvm-019889374b0082100913e9332509e58a0e00678f.tar.gz bcm5719-llvm-019889374b0082100913e9332509e58a0e00678f.zip |
Temporarily Revert "[New PM] Introducing PassInstrumentation framework"
as it was causing failures in the asan buildbot.
This reverts commit r342597.
llvm-svn: 342616
Diffstat (limited to 'llvm/unittests/IR/PassManagerTest.cpp')
-rw-r--r-- | llvm/unittests/IR/PassManagerTest.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/unittests/IR/PassManagerTest.cpp b/llvm/unittests/IR/PassManagerTest.cpp index 13b87f1022e..7709453cb74 100644 --- a/llvm/unittests/IR/PassManagerTest.cpp +++ b/llvm/unittests/IR/PassManagerTest.cpp @@ -406,9 +406,6 @@ TEST_F(PassManagerTest, Basic) { MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); - MAM.registerPass([&] { return PassInstrumentationAnalysis(); }); - FAM.registerPass([&] { return PassInstrumentationAnalysis(); }); - ModulePassManager MPM; // Count the runs over a Function. @@ -559,8 +556,6 @@ struct CustomizedPass : PassInfoMixin<CustomizedPass> { TEST_F(PassManagerTest, CustomizedPassManagerArgs) { CustomizedAnalysisManager AM; AM.registerPass([&] { return CustomizedAnalysis(); }); - PassInstrumentationCallbacks PIC; - AM.registerPass([&] { return PassInstrumentationAnalysis(&PIC); }); CustomizedPassManager PM; @@ -693,10 +688,6 @@ TEST_F(PassManagerTest, IndirectAnalysisInvalidation) { MAM.registerPass([&] { return FunctionAnalysisManagerModuleProxy(FAM); }); FAM.registerPass([&] { return ModuleAnalysisManagerFunctionProxy(MAM); }); - PassInstrumentationCallbacks PIC; - MAM.registerPass([&] { return PassInstrumentationAnalysis(&PIC); }); - FAM.registerPass([&] { return PassInstrumentationAnalysis(&PIC); }); - int InstrCount = 0, FunctionCount = 0; ModulePassManager MPM(/*DebugLogging*/ true); FunctionPassManager FPM(/*DebugLogging*/ true); |