Skip to content

Commit 63eb963

Browse files
committed
[mlir][pdl] NFC re-add NoSideEffect to Result and Results Op
1 parent 8612b11 commit 63eb963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Dialect/PDL/IR/PDLOps.td

+2-2
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def PDL_ReplaceOp : PDL_Op<"replace", [
500500
// pdl::ResultOp
501501
//===----------------------------------------------------------------------===//
502502

503-
def PDL_ResultOp : PDL_Op<"result"> {
503+
def PDL_ResultOp : PDL_Op<"result", [NoSideEffect]> {
504504
let summary = "Extract a result from an operation";
505505
let description = [{
506506
`pdl.result` operations extract result edges from an operation node within
@@ -532,7 +532,7 @@ def PDL_ResultOp : PDL_Op<"result"> {
532532
// pdl::ResultsOp
533533
//===----------------------------------------------------------------------===//
534534

535-
def PDL_ResultsOp : PDL_Op<"results"> {
535+
def PDL_ResultsOp : PDL_Op<"results", [NoSideEffect]> {
536536
let summary = "Extract a result group from an operation";
537537
let description = [{
538538
`pdl.results` operations extract a result group from an operation within a

0 commit comments

Comments
 (0)