[PATCH] D78197: [mlir][spirv] Lower memref with dynamic dimensions to runtime arrays

Lei Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 05:59:20 PDT 2020


antiagainst created this revision.
antiagainst added a reviewer: denis13.
Herald added subscribers: llvm-commits, frgossen, grosul1, bader, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: mravishankar.
Herald added a project: LLVM.

memref types with dynamic dimensions do not have a compile-time
known size. They should be mapped to SPIR-V runtime array types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78197

Files:
  mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
  mlir/test/Conversion/StandardToSPIRV/std-ops-to-spirv.mlir
  mlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
  mlir/test/Conversion/StandardToSPIRV/std-types-to-spirv.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78197.257685.patch
Type: text/x-patch
Size: 23986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200415/04455422/attachment-0001.bin>


More information about the llvm-commits mailing list