diff options
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp index 4b44a6b69ca..7998f282a47 100644 --- a/llvm/lib/IR/LLVMContextImpl.cpp +++ b/llvm/lib/IR/LLVMContextImpl.cpp @@ -222,8 +222,8 @@ void LLVMContextImpl::getSyncScopeNames( /// Singleton instance of the OptBisect class. /// -/// This singleton is accessed via the LLVMContext::getOptBisect() function. It -/// provides a mechanism to disable passes and individual optimizations at +/// This singleton is accessed via the LLVMContext::getOptPassGate() function. +/// It provides a mechanism to disable passes and individual optimizations at /// compile time based on a command line option (-opt-bisect-limit) in order to /// perform a bisecting search for optimization-related problems. /// @@ -233,6 +233,6 @@ void LLVMContextImpl::getSyncScopeNames( /// enabled in order to enable a consistent bisect count. static ManagedStatic<OptBisect> OptBisector; -OptBisect &LLVMContextImpl::getOptBisect() { +OptPassGate &LLVMContextImpl::getOptPassGate() { return *OptBisector; } |