Skip to content

Commit 6329460

Browse files
committed
fix clang format
1 parent be43248 commit 6329460

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

mlir/include/mlir/Dialect/MLProgram/Transforms/Passes.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
include "mlir/Pass/PassBase.td"
1313

14-
def MLProgramPipelineGlobalsPass : Pass<"mlprogram-pipeline-globals", "ModuleOp"> {
14+
def MLProgramPipelineGlobalsPass
15+
: Pass<"mlprogram-pipeline-globals", "ModuleOp"> {
1516
let summary = "Optimize `ml_program` global operations for read and store";
1617
let description = [{
1718
`ml_program`'s load and store operations can be optimized for

mlir/include/mlir/Dialect/Shape/Transforms/Passes.td

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
include "mlir/Pass/PassBase.td"
1313

14-
def OutlineShapeComputationPass : Pass<"outline-shape-computation", "ModuleOp"> {
14+
def OutlineShapeComputationPass
15+
: Pass<"outline-shape-computation", "ModuleOp"> {
1516
let summary = "Using shape.func to preserve shape computation";
1617
let description = [{
1718
This pass outlines the shape computation part in high level IR by adding
@@ -92,7 +93,8 @@ def OutlineShapeComputationPass : Pass<"outline-shape-computation", "ModuleOp">
9293
let dependentDialects = ["shape::ShapeDialect"];
9394
}
9495

95-
def RemoveShapeConstraintsPass : Pass<"remove-shape-constraints", "func::FuncOp"> {
96+
def RemoveShapeConstraintsPass
97+
: Pass<"remove-shape-constraints", "func::FuncOp"> {
9698
let summary = "Replace all cstr_ ops with a true witness";
9799
}
98100

mlir/lib/Dialect/Shape/Transforms/OutlineShapeComputation.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ void constructShapeFunc(
163163
}
164164

165165
struct OutlineShapeComputationPass
166-
: public impl::OutlineShapeComputationPassBase<OutlineShapeComputationPass> {
166+
: public impl::OutlineShapeComputationPassBase<
167+
OutlineShapeComputationPass> {
167168

168169
void runOnOperation() override;
169170

0 commit comments

Comments
 (0)