[Mlir-commits] [mlir] [MLIR][memref] Fix normalization issue in memref.load (PR #107771)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Sep 14 06:42:02 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff c05ebd66e756c2e109addbdaa6197f8699d5b950 f8611e556eac8fdd8764a196a1fd5f7ad43708f8 --extensions cpp -- mlir/lib/Dialect/Affine/Utils/Utils.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/mlir/lib/Dialect/Affine/Utils/Utils.cpp b/mlir/lib/Dialect/Affine/Utils/Utils.cpp
index 9496c4b219..910ad1733d 100644
--- a/mlir/lib/Dialect/Affine/Utils/Utils.cpp
+++ b/mlir/lib/Dialect/Affine/Utils/Utils.cpp
@@ -1241,10 +1241,9 @@ LogicalResult mlir::affine::replaceAllMemRefUsesWith(
       return success();
     }
 
-    return transformMemRefLoadWithReducedRank(op, oldMemRef, newMemRef,
-                                             memRefOperandPos, extraIndices,
-                                             extraOperands, symbolOperands,
-                                             indexRemap);
+    return transformMemRefLoadWithReducedRank(
+        op, oldMemRef, newMemRef, memRefOperandPos, extraIndices, extraOperands,
+        symbolOperands, indexRemap);
   }
   // Perform index rewrites for the dereferencing op and then replace the op
   NamedAttribute oldMapAttrPair =

``````````

</details>


https://github.com/llvm/llvm-project/pull/107771


More information about the Mlir-commits mailing list