diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-03-28 18:34:34 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-03-28 18:34:34 +0000 |
commit | 119fdeded82a0150e16db96179b339eae653741f (patch) | |
tree | 8437767fbad5b57350cb75395f2106404fc98df6 /llvm/lib | |
parent | 1600490af16e6be1f48fb3e52f3c9498cf87b15f (diff) | |
download | bcm5719-llvm-119fdeded82a0150e16db96179b339eae653741f.tar.gz bcm5719-llvm-119fdeded82a0150e16db96179b339eae653741f.zip |
Temporarily revert "SafepointIRVerifier port to new Pass Manager"
to unbreak the modular bots and its follow-up commit.
This reverts commit https://reviews.llvm.org/D59825
because it introduced a
fatal error: cyclic dependency in module 'LLVM_intrinsic_gen': LLVM_intrinsic_gen -> LLVM_IR -> LLVM_intrinsic_gen
llvm-svn: 357201
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/IR/SafepointIRVerifier.cpp | 11 | ||||
-rw-r--r-- | llvm/lib/Passes/PassBuilder.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/Passes/PassRegistry.def | 1 |
3 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/IR/SafepointIRVerifier.cpp b/llvm/lib/IR/SafepointIRVerifier.cpp index 7f3dea5e6a6..217f10e864d 100644 --- a/llvm/lib/IR/SafepointIRVerifier.cpp +++ b/llvm/lib/IR/SafepointIRVerifier.cpp @@ -197,17 +197,6 @@ protected: static void Verify(const Function &F, const DominatorTree &DT, const CFGDeadness &CD); -namespace llvm { -PreservedAnalyses SafepointIRVerifierPass::run(Function &F, - FunctionAnalysisManager &AM) { - const auto &DT = AM.getResult<DominatorTreeAnalysis>(F); - CFGDeadness CD; - CD.processFunction(F, DT); - Verify(F, DT, CD); - return PreservedAnalyses::all(); -} -} - namespace { struct SafepointIRVerifier : public FunctionPass { diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp index a36956e121c..ba0d6c2bd68 100644 --- a/llvm/lib/Passes/PassBuilder.cpp +++ b/llvm/lib/Passes/PassBuilder.cpp @@ -56,7 +56,6 @@ #include "llvm/IR/Dominators.h" #include "llvm/IR/IRPrintingPasses.h" #include "llvm/IR/PassManager.h" -#include "llvm/IR/SafepointIRVerifier.h" #include "llvm/IR/Verifier.h" #include "llvm/Support/Debug.h" #include "llvm/Support/FormatVariadic.h" diff --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def index 518b10dc5d5..2bf5222a385 100644 --- a/llvm/lib/Passes/PassRegistry.def +++ b/llvm/lib/Passes/PassRegistry.def @@ -231,7 +231,6 @@ FUNCTION_PASS("verify<domtree>", DominatorTreeVerifierPass()) FUNCTION_PASS("verify<loops>", LoopVerifierPass()) FUNCTION_PASS("verify<memoryssa>", MemorySSAVerifierPass()) FUNCTION_PASS("verify<regions>", RegionInfoVerifierPass()) -FUNCTION_PASS("verify<safepoint-ir>", SafepointIRVerifierPass()) FUNCTION_PASS("view-cfg", CFGViewerPass()) FUNCTION_PASS("view-cfg-only", CFGOnlyViewerPass()) FUNCTION_PASS("transform-warning", WarnMissedTransformationsPass()) |