[mlir][spirv] Allow bitwidth emulation on runtime arrays
authorLei Zhang <antiagainst@google.com>
Mon, 12 Apr 2021 20:50:24 +0000 (16:50 -0400)
committerLei Zhang <antiagainst@google.com>
Mon, 12 Apr 2021 21:04:18 +0000 (17:04 -0400)
commit2eb98d89ac866e32cb56727174e4d1c1413479c8
tree4d3780b9b6f2e19de877c258d67918aa5d7a88e4
parenta3fabc79ae9d7dd76545b2abc2a3bfb66c6d3175
[mlir][spirv] Allow bitwidth emulation on runtime arrays

Runtime arrays are converted from memrefs with unknown
dimensions.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D100335
mlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.cpp
mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir