[Mlir-commits] [mlir] Remove Pure attribute with Linalg::IndexOp. (PR #68894)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 12 07:17:31 PDT 2023
https://github.com/erick-xanadu created https://github.com/llvm/llvm-project/pull/68894
Closes #62644
>From b6a82ef1bcc5f3a9be510b3831bda3ed9f4d4c54 Mon Sep 17 00:00:00 2001
From: Erick Eduardo Ochoa Lopez <erick.ochoalopez at xanadu.ai>
Date: Thu, 12 Oct 2023 14:11:47 +0000
Subject: [PATCH] Remove Pure attribute with Linalg::IndexOp.
---
mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
index da12e7c83b22b89..41d2487dd6f1479 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgOps.td
@@ -46,7 +46,7 @@ def Linalg_YieldOp : Linalg_Op<"yield", [Pure, ReturnLike, Terminator]>,
let hasVerifier = 1;
}
-def Linalg_IndexOp : Linalg_Op<"index", [Pure]>,
+def Linalg_IndexOp : Linalg_Op<"index", []>,
Arguments<(ins ConfinedAttr<I64Attr, [IntMinValue<0>]>:$dim)>,
Results<(outs Index:$result)> {
let summary = "linalg index operation";
More information about the Mlir-commits
mailing list