[Mlir-commits] [mlir] 878d541 - [mlir][index] Fix NoSideEffect->Pure

Jeff Niu llvmlistbot at llvm.org
Fri Oct 21 10:04:25 PDT 2022


Author: Jeff Niu
Date: 2022-10-21T10:04:07-07:00
New Revision: 878d5414e0ba5351758f9f78e4ec95c51950ac78

URL: https://github.com/llvm/llvm-project/commit/878d5414e0ba5351758f9f78e4ec95c51950ac78
DIFF: https://github.com/llvm/llvm-project/commit/878d5414e0ba5351758f9f78e4ec95c51950ac78.diff

LOG: [mlir][index] Fix NoSideEffect->Pure

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Index/IR/IndexOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Index/IR/IndexOps.td b/mlir/include/mlir/Dialect/Index/IR/IndexOps.td
index b72283afa1309..0896f21954603 100644
--- a/mlir/include/mlir/Dialect/Index/IR/IndexOps.td
+++ b/mlir/include/mlir/Dialect/Index/IR/IndexOps.td
@@ -22,7 +22,7 @@ include "mlir/IR/OpBase.td"
 
 /// Base class for Index dialect operations.
 class IndexOp<string mnemonic, list<Trait> traits = []>
-    : Op<IndexDialect, mnemonic, [NoSideEffect] # traits>;
+    : Op<IndexDialect, mnemonic, [Pure] # traits>;
 
 //===----------------------------------------------------------------------===//
 // IndexBinaryOp


        


More information about the Mlir-commits mailing list