|
14 | 14 | #define MLIR_DIALECT_PDL_IR_PDLOPS
|
15 | 15 |
|
16 | 16 | include "mlir/Dialect/PDL/IR/PDLTypes.td"
|
17 |
| -include "mlir/Interfaces/SideEffectInterfaces.td" |
18 | 17 | include "mlir/IR/OpAsmInterface.td"
|
19 | 18 | include "mlir/IR/SymbolInterfaces.td"
|
20 | 19 |
|
@@ -122,7 +121,7 @@ def PDL_ApplyNativeRewriteOp
|
122 | 121 | // pdl::AttributeOp
|
123 | 122 | //===----------------------------------------------------------------------===//
|
124 | 123 |
|
125 |
| -def PDL_AttributeOp : PDL_Op<"attribute", [NoSideEffect]> { |
| 124 | +def PDL_AttributeOp : PDL_Op<"attribute"> { |
126 | 125 | let summary = "Define an input attribute in a pattern";
|
127 | 126 | let description = [{
|
128 | 127 | `pdl.attribute` operations capture named attribute edges into an operation.
|
@@ -191,7 +190,7 @@ def PDL_EraseOp : PDL_Op<"erase", [HasParent<"pdl::RewriteOp">]> {
|
191 | 190 | //===----------------------------------------------------------------------===//
|
192 | 191 |
|
193 | 192 | def PDL_OperandOp
|
194 |
| - : PDL_Op<"operand", [HasParent<"pdl::PatternOp">, NoSideEffect]> { |
| 193 | + : PDL_Op<"operand", [HasParent<"pdl::PatternOp">]> { |
195 | 194 | let summary = "Define an external input operand in a pattern";
|
196 | 195 | let description = [{
|
197 | 196 | `pdl.operand` operations capture external operand edges into an operation
|
@@ -230,7 +229,7 @@ def PDL_OperandOp
|
230 | 229 | //===----------------------------------------------------------------------===//
|
231 | 230 |
|
232 | 231 | def PDL_OperandsOp
|
233 |
| - : PDL_Op<"operands", [HasParent<"pdl::PatternOp">, NoSideEffect]> { |
| 232 | + : PDL_Op<"operands", [HasParent<"pdl::PatternOp">]> { |
234 | 233 | let summary = "Define a range of input operands in a pattern";
|
235 | 234 | let description = [{
|
236 | 235 | `pdl.operands` operations capture external operand range edges into an
|
@@ -501,7 +500,7 @@ def PDL_ReplaceOp : PDL_Op<"replace", [
|
501 | 500 | // pdl::ResultOp
|
502 | 501 | //===----------------------------------------------------------------------===//
|
503 | 502 |
|
504 |
| -def PDL_ResultOp : PDL_Op<"result", [NoSideEffect]> { |
| 503 | +def PDL_ResultOp : PDL_Op<"result"> { |
505 | 504 | let summary = "Extract a result from an operation";
|
506 | 505 | let description = [{
|
507 | 506 | `pdl.result` operations extract result edges from an operation node within
|
@@ -533,7 +532,7 @@ def PDL_ResultOp : PDL_Op<"result", [NoSideEffect]> {
|
533 | 532 | // pdl::ResultsOp
|
534 | 533 | //===----------------------------------------------------------------------===//
|
535 | 534 |
|
536 |
| -def PDL_ResultsOp : PDL_Op<"results", [NoSideEffect]> { |
| 535 | +def PDL_ResultsOp : PDL_Op<"results"> { |
537 | 536 | let summary = "Extract a result group from an operation";
|
538 | 537 | let description = [{
|
539 | 538 | `pdl.results` operations extract a result group from an operation within a
|
@@ -639,7 +638,7 @@ def PDL_RewriteOp : PDL_Op<"rewrite", [
|
639 | 638 | // pdl::TypeOp
|
640 | 639 | //===----------------------------------------------------------------------===//
|
641 | 640 |
|
642 |
| -def PDL_TypeOp : PDL_Op<"type", [NoSideEffect]> { |
| 641 | +def PDL_TypeOp : PDL_Op<"type"> { |
643 | 642 | let summary = "Define a type handle within a pattern";
|
644 | 643 | let description = [{
|
645 | 644 | `pdl.type` operations capture result type constraints of `Attributes`,
|
@@ -668,7 +667,7 @@ def PDL_TypeOp : PDL_Op<"type", [NoSideEffect]> {
|
668 | 667 | // pdl::TypesOp
|
669 | 668 | //===----------------------------------------------------------------------===//
|
670 | 669 |
|
671 |
| -def PDL_TypesOp : PDL_Op<"types", [NoSideEffect]> { |
| 670 | +def PDL_TypesOp : PDL_Op<"types"> { |
672 | 671 | let summary = "Define a range of type handles within a pattern";
|
673 | 672 | let description = [{
|
674 | 673 | `pdl.types` operations capture result type constraints of `Value`s, and
|
|
0 commit comments