[MLIR][Shape] Lower `shape.const_shape` to `tensor_from_elements`
authorFrederik Gossen <frgossen@google.com>
Tue, 28 Jul 2020 15:39:49 +0000 (15:39 +0000)
committerFrederik Gossen <frgossen@google.com>
Tue, 28 Jul 2020 15:40:55 +0000 (15:40 +0000)
commitdfcc09890a91b1085139fee175936b0e67824e47
tree47a9e71eab20ff8f5d36aafd2ebd367a8092e6e2
parenta4edc04693f76eec9068db0556d6533e4c201d74
[MLIR][Shape] Lower `shape.const_shape` to `tensor_from_elements`

Differential Revision: https://reviews.llvm.org/D82848
mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir