summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/SafepointIRVerifier.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-03-28 18:34:34 +0000
committerAdrian Prantl <aprantl@apple.com>2019-03-28 18:34:34 +0000
commit119fdeded82a0150e16db96179b339eae653741f (patch)
tree8437767fbad5b57350cb75395f2106404fc98df6 /llvm/lib/IR/SafepointIRVerifier.cpp
parent1600490af16e6be1f48fb3e52f3c9498cf87b15f (diff)
downloadbcm5719-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/IR/SafepointIRVerifier.cpp')
-rw-r--r--llvm/lib/IR/SafepointIRVerifier.cpp11
1 files changed, 0 insertions, 11 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 {
OpenPOWER on IntegriCloud