Mark std.view as no-sideeffect.
authorStephan Herhut <herhut@google.com>
Fri, 15 Nov 2019 13:27:57 +0000 (05:27 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 15 Nov 2019 13:28:31 +0000 (05:28 -0800)
commit57bafc674e68396374c62f4ecb8cb43064d41b27
treedd997edd6ab03b3543b38ef63e8219d25558c9fa
parent9c7bceb4fe5144fbe1ef4f1cdda3c802fb272248
Mark std.view as no-sideeffect.

The same reasoning as for std.subview applies.

PiperOrigin-RevId: 280639308
mlir/include/mlir/Dialect/StandardOps/Ops.td
mlir/test/Transforms/canonicalize.mlir