summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/LLVMContextImpl.h
diff options
context:
space:
mode:
authorFedor Sergeev <fedor.sergeev@azul.com>2018-03-27 16:57:20 +0000
committerFedor Sergeev <fedor.sergeev@azul.com>2018-03-27 16:57:20 +0000
commit98014e433fe10d5a72ee1f5fbb29363ceb1533eb (patch)
treec9b767150b955d5fd7c44e52bd38d0980e7cd8f1 /llvm/lib/IR/LLVMContextImpl.h
parentc205d8cc8dcce3d9f47f9d78c03eed7820d265e9 (diff)
downloadbcm5719-llvm-98014e433fe10d5a72ee1f5fbb29363ceb1533eb.tar.gz
bcm5719-llvm-98014e433fe10d5a72ee1f5fbb29363ceb1533eb.zip
[NFC] OptPassGate extracted from OptBisect
Summary: This is an NFC refactoring of the OptBisect class to split it into an optional pass gate interface used by LLVMContext and the Optional Pass Bisector (OptBisect) used for debugging of optional passes. This refactoring is needed for D44464, which introduces setOptPassGate() method to allow implementations other than OptBisect. Patch by Yevgeny Rouban. Reviewers: andrew.w.kaylor, fedor.sergeev, vsk, dberlin, Eugene.Zelenko, reames, skatkov Reviewed By: fedor.sergeev Differential Revision: https://reviews.llvm.org/D44821 llvm-svn: 328637
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
-rw-r--r--llvm/lib/IR/LLVMContextImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.h b/llvm/lib/IR/LLVMContextImpl.h
index 1f2956d54ed..51ed118cb66 100644
--- a/llvm/lib/IR/LLVMContextImpl.h
+++ b/llvm/lib/IR/LLVMContextImpl.h
@@ -1357,7 +1357,7 @@ public:
/// \brief Access the object which manages optimization bisection for failure
/// analysis.
- OptBisect &getOptBisect();
+ OptPassGate &getOptPassGate();
};
} // end namespace llvm
OpenPOWER on IntegriCloud