[Mlir-commits] [mlir] [mlir][affine] implement `promoteIfSingleIteration` for `AffineForOp` (PR #72547)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Nov 19 09:54:09 PST 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 dfe1d35c629f2948c0e8cf29d926729b1dbc1709 bf5646f8e0cb43bb0d787c0dadca128c9ee931f8 -- mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h mlir/include/mlir/Dialect/Affine/IR/AffineOps.h mlir/include/mlir/Dialect/Affine/LoopUtils.h mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp mlir/lib/Dialect/Affine/IR/AffineOps.cpp mlir/lib/Dialect/Affine/Transforms/AffineDataCopyGeneration.cpp mlir/lib/Dialect/Affine/Utils/LoopFusionUtils.cpp mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp mlir/lib/Dialect/Affine/Utils/Utils.cpp mlir/test/lib/Dialect/Affine/TestAffineDataCopy.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp b/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
index 7532bcc0ec..da65c8e91b 100644
--- a/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
+++ b/mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
@@ -29,8 +29,6 @@
using namespace mlir;
using namespace mlir::affine;
-
-
void mlir::affine::replaceIterArgsAndYieldResults(AffineForOp forOp) {
// Replace uses of iter arguments with iter operands (initial values).
OperandRange iterOperands = forOp.getInits();
``````````
</details>
https://github.com/llvm/llvm-project/pull/72547
More information about the Mlir-commits
mailing list