[Mlir-commits] [mlir] [MLIR][NFC] Retire `let constructor` for Shape and MLProgram (PR #128869)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Feb 26 04:34:43 PST 2025


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 5231736329224fa3f812c22e1e5250e776956550 be432487a30f957c05c686a08fdb2c31ad64fa22 --extensions cpp,h -- mlir/include/mlir/Dialect/MLProgram/Transforms/Passes.h mlir/include/mlir/Dialect/Shape/Transforms/Passes.h mlir/lib/Dialect/MLProgram/Transforms/PipelineGlobalOps.cpp mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp mlir/lib/Dialect/Shape/Transforms/RemoveShapeConstraints.cpp mlir/lib/Dialect/Shape/Transforms/ShapeToShapeLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp b/mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp
index 97fadc9f31..ae06a34b65 100644
--- a/mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp
+++ b/mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp
@@ -163,7 +163,8 @@ void constructShapeFunc(
 }
 
 struct OutlineShapeComputationPass
-    : public impl::OutlineShapeComputationPassBase<OutlineShapeComputationPass> {
+    : public impl::OutlineShapeComputationPassBase<
+          OutlineShapeComputationPass> {
 
   void runOnOperation() override;
 

``````````

</details>


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


More information about the Mlir-commits mailing list