projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae746d
)
[mlir][index] Fix NoSideEffect->Pure
author
Jeff Niu
<jeff@modular.com>
Fri, 21 Oct 2022 17:04:07 +0000
(10:04 -0700)
committer
Jeff Niu
<jeff@modular.com>
Fri, 21 Oct 2022 17:04:07 +0000
(10:04 -0700)
mlir/include/mlir/Dialect/Index/IR/IndexOps.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Dialect/Index/IR/IndexOps.td
b/mlir/include/mlir/Dialect/Index/IR/IndexOps.td
index b72283afa130995e27eb7660dc63537937e675df..0896f21954603d0f19e11866c87bbf0a3c3a52ec 100644
(file)
--- 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