This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][SPIRVToLLVM] Implementation of SPIR-V module conversion pattern
ClosedPublic

Authored by georgemitenkov on Jun 24 2020, 8:31 AM.

Details

Summary

This patch introduces conversion patterns for spv.module and spv._module_end. SPIR-V module is converted into ModuleOp. This will play a role of enclosing scope to LLVM ops. At the moment, SPIR-V module attributes (such as memory model, etc) are ignored.

Diff Detail

Event Timeline

georgemitenkov created this revision.Jun 24 2020, 8:31 AM
georgemitenkov edited the summary of this revision. (Show Details)Jun 24 2020, 8:32 AM
antiagainst accepted this revision.Jun 24 2020, 3:33 PM
This revision is now accepted and ready to land.Jun 24 2020, 3:33 PM
This revision was automatically updated to reflect the committed changes.