@@ -19,8 +19,6 @@ def TritonCombineOps : Pass</*cli-arg*/"triton-combine", /*Op*/"mlir::ModuleOp">
19
19
=> dot(x,y,splat(0))`
20
20
}];
21
21
22
- let constructor = "mlir::triton::createCombineOpsPass()";
23
-
24
22
let dependentDialects = ["mlir::arith::ArithDialect"];
25
23
}
26
24
@@ -33,7 +31,7 @@ def TritonReorderBroadcast : Pass</*cli-arg*/"triton-reorder-broadcast", /*Op*/"
33
31
In the event of a match, the broadcast (or splat) operation is delayed
34
32
and performed after the ElementWise operation.
35
33
}];
36
- let constructor = "mlir::triton::createReorderBroadcastPass()";
34
+
37
35
let dependentDialects = ["mlir::triton::TritonDialect"];
38
36
}
39
37
@@ -45,8 +43,6 @@ def TritonRewriteTensorPointer : Pass</*cli-arg*/"triton-rewrite-tensor-pointer"
45
43
the pointer/mask/other for each load/store.
46
44
}];
47
45
48
- let constructor = "mlir::triton::createRewriteTensorPointerPass()";
49
-
50
46
let dependentDialects = ["mlir::triton::TritonDialect"];
51
47
}
52
48
@@ -56,7 +52,7 @@ def TritonLoopUnroll : Pass</*cli-arg*/"triton-loop-unroll", /*Op*/"mlir::Module
56
52
The pass unrolls a scf loop with tt.loop_unroll_factor attribute. The attribute specialises how many iterations
57
53
the loop should be unrolled.
58
54
}];
59
- let constructor = "mlir::triton::createLoopUnrollPass()";
55
+
60
56
let dependentDialects = ["mlir::triton::TritonDialect"];
61
57
}
62
58
@@ -68,7 +64,7 @@ def TritonLoopInvariantCodeMotion : Pass</*cli-arg*/"triton-licm", /*Op*/"mlir::
68
64
generates a trip-count check. For scf.while loops, it clones the condition
69
65
from the before body.
70
66
}];
71
- let constructor = "mlir::triton::createLoopInvariantCodeMotionPass()";
67
+
72
68
let dependentDialects = ["mlir::triton::TritonDialect"];
73
69
}
74
70
0 commit comments