[MLIR][Shape] Pass Ops instead of Operations in shape lowering
authorFrederik Gossen <frgossen@google.com>
Fri, 24 Jul 2020 10:46:40 +0000 (10:46 +0000)
committerFrederik Gossen <frgossen@google.com>
Fri, 24 Jul 2020 10:47:23 +0000 (10:47 +0000)
commit274db1d21ae26f70393e25d0e6723c9ed6e7542b
tree2c8bdc07413df5763f9dfece90e5147e25b8b8c6
parent23a65648c0cd412becbef9b914e2e33f6114ba87
[MLIR][Shape] Pass Ops instead of Operations in shape lowering

Shorten builder invocations by using Ops directly instead of `op.getOperation`.

Differential Revision: https://reviews.llvm.org/D84430
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp