Fix comment to reflect what the method is doing (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Fri, 28 May 2021 00:02:36 +0000 (00:02 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Fri, 28 May 2021 00:02:59 +0000 (00:02 +0000)
mlir/lib/IR/MLIRContext.cpp

index 51e0952..9684ffa 100644 (file)
@@ -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();
 }