[Mlir-commits] [mlir] c197edb - [MLIR][NFC] fix doc comment for isKnownIsolatedFromAbove

Uday Bondhugula llvmlistbot at llvm.org
Fri Apr 10 06:45:44 PDT 2020


Author: Uday Bondhugula
Date: 2020-04-10T19:15:21+05:30
New Revision: c197edb135185d410596937ca35deacace36fbeb

URL: https://github.com/llvm/llvm-project/commit/c197edb135185d410596937ca35deacace36fbeb
DIFF: https://github.com/llvm/llvm-project/commit/c197edb135185d410596937ca35deacace36fbeb.diff

LOG: [MLIR][NFC] fix doc comment for isKnownIsolatedFromAbove

Fix doc comment for Operation::isKnownIsolatedFromAbove().

Added: 
    

Modified: 
    mlir/include/mlir/IR/Operation.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/Operation.h b/mlir/include/mlir/IR/Operation.h
index d896c435744f..099ca3c610c4 100644
--- a/mlir/include/mlir/IR/Operation.h
+++ b/mlir/include/mlir/IR/Operation.h
@@ -432,9 +432,9 @@ class Operation final
     return getTerminatorStatus() == TerminatorStatus::NonTerminator;
   }
 
-  /// Returns if the operation is known to be completely isolated from enclosing
-  /// regions, i.e. no internal regions reference values defined above this
-  /// operation.
+  /// Returns true if the operation is known to be completely isolated from
+  /// enclosing regions, i.e., no internal regions reference values defined
+  /// above this operation.
   bool isKnownIsolatedFromAbove() {
     if (auto *absOp = getAbstractOperation())
       return absOp->hasProperty(OperationProperty::IsolatedFromAbove);


        


More information about the Mlir-commits mailing list