[Mlir-commits] [mlir] dda810c - Fix a comment at call-site to match the declared parameter (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sat Oct 9 10:58:02 PDT 2021


Author: Mehdi Amini
Date: 2021-10-09T17:57:53Z
New Revision: dda810c332db35b92596d43caba14e1bc3a515bc

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

LOG: Fix a comment at call-site to match the declared parameter (NFC)

(clang-tidy warning)

Added: 
    

Modified: 
    mlir/lib/Transforms/Utils/Utils.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Transforms/Utils/Utils.cpp b/mlir/lib/Transforms/Utils/Utils.cpp
index d8ffab3852f65..ff2ca67716f84 100644
--- a/mlir/lib/Transforms/Utils/Utils.cpp
+++ b/mlir/lib/Transforms/Utils/Utils.cpp
@@ -673,7 +673,7 @@ LogicalResult mlir::normalizeMemRef(memref::AllocOp *allocOp) {
                                       /*symbolOperands=*/symbolOperands,
                                       /*domOpFilter=*/nullptr,
                                       /*postDomOpFilter=*/nullptr,
-                                      /*allowDereferencingOps=*/true))) {
+                                      /*allowNonDereferencingOps=*/true))) {
     // If it failed (due to escapes for example), bail out.
     newAlloc.erase();
     return failure();


        


More information about the Mlir-commits mailing list