[Mlir-commits] [mlir] 63eb963 - [mlir][pdl] NFC re-add NoSideEffect to Result and Results Op

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Feb 22 10:27:50 PST 2022


Author: Mogball
Date: 2022-02-22T18:27:44Z
New Revision: 63eb963e58663541d6feb58f53a1bd4903e3dabf

URL: https://github.com/llvm/llvm-project/commit/63eb963e58663541d6feb58f53a1bd4903e3dabf
DIFF: https://github.com/llvm/llvm-project/commit/63eb963e58663541d6feb58f53a1bd4903e3dabf.diff

LOG: [mlir][pdl] NFC re-add NoSideEffect to Result and Results Op

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td b/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
index 1d4264eeb9857..b7329df48d524 100644
--- a/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
+++ b/mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
@@ -500,7 +500,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
@@ -532,7 +532,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


        


More information about the Mlir-commits mailing list