[Mlir-commits] [mlir] [mlir][SCF] Do not peel already peeled loops (PR #71900)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Nov 10 00:14:29 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 34d712243fa2a9776ad2cd3709b3a988d354b8a0 0ba7fc37b703e33652390b3f68e0593bf8639cd4 -- mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp mlir/lib/IR/AffineExpr.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp b/mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
index fa51eb643074..2cc49efcbf2a 100644
--- a/mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/LoopSpecialization.cpp
@@ -296,4 +296,3 @@ std::unique_ptr<Pass> mlir::createForLoopSpecializationPass() {
std::unique_ptr<Pass> mlir::createForLoopPeelingPass() {
return std::make_unique<ForLoopPeeling>();
}
-
diff --git a/mlir/lib/IR/AffineExpr.cpp b/mlir/lib/IR/AffineExpr.cpp
index 3b9456b9ad5d..9210cbe7c42e 100644
--- a/mlir/lib/IR/AffineExpr.cpp
+++ b/mlir/lib/IR/AffineExpr.cpp
@@ -1599,4 +1599,3 @@ std::optional<int64_t> mlir::getBoundForAffineExpr(
bound += flattenedExpr.back();
return bound;
}
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/71900
More information about the Mlir-commits
mailing list