forked from OSchip/llvm-project
Reland "[mlir][pdl] NFC re-add NoSideEffect to Result and Results Op"
This reverts commit 9865c3f28a
.
Looks like our commits raced and Jeff fixed the build issue.
This commit is contained in:
parent
ef7b9824cd
commit
de2cc2a002
|
@ -501,7 +501,7 @@ def PDL_ReplaceOp : PDL_Op<"replace", [
|
|||
// pdl::ResultOp
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
def PDL_ResultOp : PDL_Op<"result"> {
|
||||
def PDL_ResultOp : PDL_Op<"result", [NoSideEffect]> {
|
||||
let summary = "Extract a result from an operation";
|
||||
let description = [{
|
||||
`pdl.result` operations extract result edges from an operation node within
|
||||
|
@ -533,7 +533,7 @@ def PDL_ResultOp : PDL_Op<"result"> {
|
|||
// pdl::ResultsOp
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
def PDL_ResultsOp : PDL_Op<"results"> {
|
||||
def PDL_ResultsOp : PDL_Op<"results", [NoSideEffect]> {
|
||||
let summary = "Extract a result group from an operation";
|
||||
let description = [{
|
||||
`pdl.results` operations extract a result group from an operation within a
|
||||
|
|
Loading…
Reference in New Issue