Skip to content

Commit 878d541

Browse files
author
Jeff Niu
committed
[mlir][index] Fix NoSideEffect->Pure
1 parent cae746d commit 878d541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ include "mlir/IR/OpBase.td"
2222

2323
/// Base class for Index dialect operations.
2424
class IndexOp<string mnemonic, list<Trait> traits = []>
25-
: Op<IndexDialect, mnemonic, [NoSideEffect] # traits>;
25+
: Op<IndexDialect, mnemonic, [Pure] # traits>;
2626

2727
//===----------------------------------------------------------------------===//
2828
// IndexBinaryOp

0 commit comments

Comments
 (0)