diff --git a/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td b/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td --- a/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td +++ b/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td @@ -14,7 +14,6 @@ #define MLIR_DIALECT_PDL_IR_PDLOPS include "mlir/Dialect/PDL/IR/PDLTypes.td" -include "mlir/Interfaces/SideEffectInterfaces.td" include "mlir/IR/OpAsmInterface.td" include "mlir/IR/SymbolInterfaces.td" @@ -122,7 +121,7 @@ // pdl::AttributeOp //===----------------------------------------------------------------------===// -def PDL_AttributeOp : PDL_Op<"attribute", [NoSideEffect]> { +def PDL_AttributeOp : PDL_Op<"attribute"> { let summary = "Define an input attribute in a pattern"; let description = [{ `pdl.attribute` operations capture named attribute edges into an operation. @@ -191,7 +190,7 @@ //===----------------------------------------------------------------------===// def PDL_OperandOp - : PDL_Op<"operand", [HasParent<"pdl::PatternOp">, NoSideEffect]> { + : PDL_Op<"operand", [HasParent<"pdl::PatternOp">]> { let summary = "Define an external input operand in a pattern"; let description = [{ `pdl.operand` operations capture external operand edges into an operation @@ -230,7 +229,7 @@ //===----------------------------------------------------------------------===// def PDL_OperandsOp - : PDL_Op<"operands", [HasParent<"pdl::PatternOp">, NoSideEffect]> { + : PDL_Op<"operands", [HasParent<"pdl::PatternOp">]> { let summary = "Define a range of input operands in a pattern"; let description = [{ `pdl.operands` operations capture external operand range edges into an @@ -501,7 +500,7 @@ // pdl::ResultOp //===----------------------------------------------------------------------===// -def PDL_ResultOp : PDL_Op<"result", [NoSideEffect]> { +def PDL_ResultOp : PDL_Op<"result"> { let summary = "Extract a result from an operation"; let description = [{ `pdl.result` operations extract result edges from an operation node within @@ -533,7 +532,7 @@ // pdl::ResultsOp //===----------------------------------------------------------------------===// -def PDL_ResultsOp : PDL_Op<"results", [NoSideEffect]> { +def PDL_ResultsOp : PDL_Op<"results"> { let summary = "Extract a result group from an operation"; let description = [{ `pdl.results` operations extract a result group from an operation within a @@ -639,7 +638,7 @@ // pdl::TypeOp //===----------------------------------------------------------------------===// -def PDL_TypeOp : PDL_Op<"type", [NoSideEffect]> { +def PDL_TypeOp : PDL_Op<"type"> { let summary = "Define a type handle within a pattern"; let description = [{ `pdl.type` operations capture result type constraints of `Attributes`, @@ -668,7 +667,7 @@ // pdl::TypesOp //===----------------------------------------------------------------------===// -def PDL_TypesOp : PDL_Op<"types", [NoSideEffect]> { +def PDL_TypesOp : PDL_Op<"types"> { let summary = "Define a range of type handles within a pattern"; let description = [{ `pdl.types` operations capture result type constraints of `Value`s, and