[all-commits] [llvm/llvm-project] cc98a0: [MLIR][SPIRVToLLVM] Additional conversions for spi...
George Mitenkov via All-commits
all-commits at lists.llvm.org
Tue Aug 18 09:10:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cc98a0fbe46511ebcbca5600c9ec49901469ae3d
https://github.com/llvm/llvm-project/commit/cc98a0fbe46511ebcbca5600c9ec49901469ae3d
Author: George Mitenkov <georgemitenk0v at gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
M mlir/test/Conversion/SPIRVToLLVM/memory-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
M mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm-invalid.mlir
M mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir
Log Message:
-----------
[MLIR][SPIRVToLLVM] Additional conversions for spirv-runner
This patch adds more op/type conversion support
necessary for `spirv-runner`:
- EntryPoint/ExecutionMode: currently removed since we assume
having only one kernel function in the kernel module.
- StorageBuffer storage class is now supported. We are not
concerned with multithreading so this is fine for now.
- Type conversion enhanced, now regular offsets and strides
for structs and arrays are supported (based on
`VulkanLayoutUtils`).
- Support of `spc.AccessChain` that is modelled with GEP op
in LLVM dialect.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D86109
More information about the All-commits
mailing list