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:
5211345
)
[mlir] Mark std.subview as NoSideEffect
author
Tres Popp
<tpopp@google.com>
Thu, 18 Feb 2021 13:25:57 +0000
(14:25 +0100)
committer
Tres Popp
<tpopp@google.com>
Mon, 22 Feb 2021 08:34:38 +0000
(09:34 +0100)
Differential Revision: https://reviews.llvm.org/D96951
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
b/mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
index
82b4717
..
2bcae1c
100644
(file)
--- a/
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
+++ b/
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
@@
-2587,7
+2587,7
@@
def SubIOp : IntBinaryOp<"subi"> {
def SubViewOp : BaseOpWithOffsetSizesAndStrides<
"subview", [DeclareOpInterfaceMethods<ViewLikeOpInterface>,
- OffsetSizeAndStrideOpInterface] > {
+
NoSideEffect,
OffsetSizeAndStrideOpInterface] > {
let summary = "memref subview operation";
let description = [{
The "subview" operation converts a memref type to another memref type