This PR revives the ~3 year old unfinished SPIR-V backend for Thorin (and proceeds to rewrite most of it anyways).
Unlike it's forefather, this version does exactly zero structured control flow transforms/or fancy lowering.
It is meant to target the OpenCL environment mostly, but with the hope that it can be used to target Shady instead with a few in-house extensions.
Currently there is no Accelerator/Intrinsic for emitting SPIR-V, instead this backend has been tested with the --emit-spirv flag available in the development branch of Artic.
This PR revives the ~3 year old unfinished SPIR-V backend for Thorin (and proceeds to rewrite most of it anyways).
Unlike it's forefather, this version does exactly zero structured control flow transforms/or fancy lowering. It is meant to target the OpenCL environment mostly, but with the hope that it can be used to target Shady instead with a few in-house extensions.
Currently there is no Accelerator/Intrinsic for emitting SPIR-V, instead this backend has been tested with the
--emit-spirv
flag available in the development branch of Artic.