[all-commits] [llvm/llvm-project] 28cd3c: [MLIR][SPIRVToLLVM] Conversion of SPIR-V array, ru...
George Mitenkov via All-commits
all-commits at lists.llvm.org
Thu Jul 9 08:12:37 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 28cd3cbc12577fa44f9b15c2ffaf9fb1bc280590
https://github.com/llvm/llvm-project/commit/28cd3cbc12577fa44f9b15c2ffaf9fb1bc280590
Author: George Mitenkov <georgemitenk0v at gmail.com>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M mlir/include/mlir/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.h
M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVMPass.cpp
M mlir/test/Conversion/SPIRVToLLVM/cast-ops-to-llvm.mlir
A mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.invalid.mlir
A mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir
Log Message:
-----------
[MLIR][SPIRVToLLVM] Conversion of SPIR-V array, runtime array, and pointer types
This patch adds type conversion for 4 SPIR-V types: array, runtime array, pointer
and struct. This conversion is integrated using a separate function
`populateSPIRVToLLVMTypeConversion()` that adds new type conversions. At the moment,
this is a basic skeleton that allows to perfom conversion from SPIR-V array,
runtime array and pointer types to LLVM typesystem. There is no support of array
strides or storage classes. These will be supported on the case by case basis.
Reviewed By: antiagainst
Differential Revision: https://reviews.llvm.org/D83399
More information about the All-commits
mailing list