[Mlir-commits] [mlir] [MLIR][Mesh] Add sharding propagation pass (PR #69665)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 19 17:53:22 PDT 2023
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 bce3b505931cee9dc79d1c56c021983b4a8fb819 25d68a6caf9c32747ab011b6d955d914573c2f55 -- mlir/include/mlir/Dialect/Mesh/Interfaces/ShardingInterface.h mlir/include/mlir/Dialect/Mesh/Transforms/Passes.h mlir/include/mlir/Dialect/Tosa/IR/ShardingInterfaceImpl.h mlir/lib/Dialect/Mesh/Interfaces/ShardingInterface.cpp mlir/lib/Dialect/Mesh/Transforms/ShardingPropagation.cpp mlir/lib/Dialect/Tosa/IR/ShardingInterfaceImpl.cpp mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h mlir/include/mlir/Dialect/Utils/IndexingUtils.h mlir/include/mlir/IR/AffineMap.h mlir/include/mlir/IR/Builders.h mlir/include/mlir/InitAllDialects.h mlir/include/mlir/InitAllPasses.h mlir/lib/Dialect/Mesh/IR/MeshOps.cpp mlir/lib/Dialect/Utils/IndexingUtils.cpp mlir/lib/IR/AffineMap.cpp mlir/lib/IR/Builders.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/IR/AffineMap.h b/mlir/include/mlir/IR/AffineMap.h
index 18e2313ef2b4..919ca35886c6 100644
--- a/mlir/include/mlir/IR/AffineMap.h
+++ b/mlir/include/mlir/IR/AffineMap.h
@@ -110,8 +110,8 @@ public:
/// * getMultiDimMapWithTargets(3, [2, 1])
/// -> affine_map<(d0, d1, d2) -> (d2, d1)>
static AffineMap getMultiDimMapWithTargets(unsigned numDims,
- ArrayRef<int64_t> targets,
- MLIRContext *context);
+ ArrayRef<int64_t> targets,
+ MLIRContext *context);
/// Returns a vector of AffineMaps; each with as many results as
/// `exprs.size()`, as many dims as the largest dim in `exprs` and as many
``````````
</details>
https://github.com/llvm/llvm-project/pull/69665
More information about the Mlir-commits
mailing list