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 HEAD~1 HEAD --extensions cpp -- mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp b/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp index 92f44c97e..e773236b3 100644 --- a/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp +++ b/mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp @@ -1053,7 +1053,7 @@ struct DimOfMemRefReshape : public OpRewritePattern<DimOp> { } } // else dim.getIndex is a block argument to reshape->getBlock and // dominates reshape - } // Check condition 2 + } // Check condition 2 else if (dim->getBlock() != reshape->getBlock() && !dim.getIndex().getParentRegion()->isProperAncestor( reshape->getParentRegion())) { `````````` </details> https://github.com/llvm/llvm-project/pull/135940 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits