This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][SPIRVToLLVM] Conversion of SPIR-V array, runtime array, and pointer types
ClosedPublic

Authored by georgemitenkov on Jul 8 2020, 7:57 AM.

Details

Summary

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.

Diff Detail

Event Timeline

georgemitenkov created this revision.Jul 8 2020, 7:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 8 2020, 7:57 AM
antiagainst accepted this revision.Jul 9 2020, 5:53 AM
This revision is now accepted and ready to land.Jul 9 2020, 5:53 AM
This revision was automatically updated to reflect the committed changes.