[Mlir-commits] [mlir] 9865c3f - Revert "[mlir][pdl] NFC re-add NoSideEffect to Result and Results Op"

Reid Kleckner llvmlistbot at llvm.org
Tue Feb 22 10:47:22 PST 2022


Author: Reid Kleckner
Date: 2022-02-22T10:46:49-08:00
New Revision: 9865c3f28aa812364584b55629eef9b52bb1230e

URL: https://github.com/llvm/llvm-project/commit/9865c3f28aa812364584b55629eef9b52bb1230e
DIFF: https://github.com/llvm/llvm-project/commit/9865c3f28aa812364584b55629eef9b52bb1230e.diff

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

This reverts commit 63eb963e58663541d6feb58f53a1bd4903e3dabf.

Breaks MLIR build.

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 b7329df48d524..1d4264eeb9857 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", [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
@@ -532,7 +532,7 @@ def PDL_ResultOp : PDL_Op<"result", [NoSideEffect]> {
 // 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


        


More information about the Mlir-commits mailing list