Mark std.view as no-sideeffect.
The same reasoning as for std.subview applies. PiperOrigin-RevId: 280639308 Change-Id: I48a794679f3c972b40fdce9222b66f2dbe60af40
This commit is contained in:
parent
8665f610ab
commit
4ff2916c8c
@ -1151,7 +1151,7 @@ def TruncateIOp : Std_Op<"trunci", [NoSideEffect, SameOperandsAndResultShape]> {
|
||||
}];
|
||||
}
|
||||
|
||||
def ViewOp : Std_Op<"view"> {
|
||||
def ViewOp : Std_Op<"view", [NoSideEffect]> {
|
||||
let summary = "memref view operation";
|
||||
let description = [{
|
||||
The "view" operation converts a 1-D memref with i8 element type,
|
||||
|
Loading…
Reference in New Issue
Block a user