Ilia Diachkov
Ilia Diachkov
I'm still working on OpenCL's `enqueue_kernel` builtin function (it turns into the following calls in LLVM IR: `__enqueue_kernel_basic, __enqueue_kernel_basic_events, __enqueue_kernel_events_varargs, __enqueue_kernel_varargs`).
OpenCL's `enqueue_kernel` builtin function was supported: - [[SPIRV] support enqueue_kernel builtin functions](https://reviews.llvm.org/D137018)
Two SPIR-V's builtin function (__spirv_Load/__spirv_Store) were supported: - [[SPIRV] support __spirv_Load/Store builtin functions](https://reviews.llvm.org/D140490)
Most of the intrinsics were added in #84, however fmuladd.ll is not fixed since we cannot differ llvm.fmuladd and llvm.fma in SPIRVInstructionSelector.cpp where we have G_FMA. Need to specialize it...
After 8b0831dd91a46b3fea55c57a9b470363b0883b2c we have only 3 tests failed in this way: ``` llvm-intrinsics/constrained-comparison.ll llvm-intrinsics/constrained-arithmetic.ll llvm-intrinsics/constrained-convert.ll ``` It's due to missed support of string metadata in IRTranslator::translateCall (IRTranslator.cpp) and no standard...
Basic support of llvm.memmove/memcpy intrinsics was added in #83. Code inlining/function generation has not been added yet. Also missed bitcasts and perhaps lifetime* intrinsics should be added to pass memcpy/memmove...
We can handle `llvm.umul.with.overflow.*` (llvm-intrinsics/umul.with.overflow.ll) and `llvm.fshr.*/llvm.fshl.*` (llvm-intrinsics/fshr.ll, llvm-intrinsics/fshr.ll) generating new functions in SPIRVPreTranslationLegalizer.cpp.
Hi Sean, Thanks for your interest in this project. Currently we have no special getting started guide other than standard LLVM's one. So you can download and build the sources...
Well, we have no special documentation about this yet. The general approach is that we are trying to make the backend compatible with the SPIRV-LLVM-Translator as much as possible, as...
As far as I know: 1. Vulkan support development is planned not earlier than we implement OpenCL functionality comparable to the Translator in LLVM IR to SPIR-V conversion. 2. Currently,...