[Mlir-commits] [mlir] 80e684b - Fix comment to reflect what the method is doing (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu May 27 17:03:09 PDT 2021
Author: Mehdi Amini
Date: 2021-05-28T00:02:59Z
New Revision: 80e684b194235c0637c16b4163ed984859980852
URL: https://github.com/llvm/llvm-project/commit/80e684b194235c0637c16b4163ed984859980852
DIFF: https://github.com/llvm/llvm-project/commit/80e684b194235c0637c16b4163ed984859980852.diff
LOG: Fix comment to reflect what the method is doing (NFC)
Added:
Modified:
mlir/lib/IR/MLIRContext.cpp
Removed:
################################################################################
diff --git a/mlir/lib/IR/MLIRContext.cpp b/mlir/lib/IR/MLIRContext.cpp
index 51e09522aafc1..9684ffab1339f 100644
--- a/mlir/lib/IR/MLIRContext.cpp
+++ b/mlir/lib/IR/MLIRContext.cpp
@@ -561,7 +561,7 @@ void MLIRContext::allowUnregisteredDialects(bool allowing) {
impl->allowUnregisteredDialects = allowing;
}
-/// Return true if multi-threading is disabled by the context.
+/// Return true if multi-threading is enabled by the context.
bool MLIRContext::isMultithreadingEnabled() {
return impl->threadingIsEnabled && llvm::llvm_is_multithreaded();
}
More information about the Mlir-commits
mailing list