[Mlir-commits] [mlir] [mlir][affine][Analysis] Add conservative bounds for semi-affine mods (PR #93576)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue May 28 09:47:37 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 74ed79f7f123788d95f1552800e1af9ceaee4a08 62841f255ae8fcee026c6568633d603fc224ab13 -- mlir/include/mlir/Analysis/FlatLinearValueConstraints.h mlir/include/mlir/Analysis/Presburger/IntegerRelation.h mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h mlir/include/mlir/IR/AffineExprVisitor.h mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h mlir/lib/Analysis/FlatLinearValueConstraints.cpp mlir/lib/Analysis/Presburger/IntegerRelation.cpp mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp mlir/lib/IR/AffineExpr.cpp mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h b/mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h
index d682ef1131..93b3c92533 100644
--- a/mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h
+++ b/mlir/include/mlir/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.h
@@ -35,7 +35,7 @@ struct ScalableValueBoundsConstraintSet
       unsigned vscaleMin, unsigned vscaleMax)
       : RTTIExtends(context, stopCondition,
                     /*addConservativeSemiAffineBounds=*/true),
-        vscaleMin(vscaleMin), vscaleMax(vscaleMax){};
+        vscaleMin(vscaleMin), vscaleMax(vscaleMax) {};
 
   using RTTIExtends::bound;
   using RTTIExtends::StopConditionFn;

``````````

</details>


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


More information about the Mlir-commits mailing list