[SPIRV] support the enqueue_kernel builtin function
authorIlia Diachkov <ilia.diachkov@gmail.com>
Sat, 29 Oct 2022 00:07:02 +0000 (03:07 +0300)
committerIlia Diachkov <ilia.diachkov@gmail.com>
Mon, 31 Oct 2022 23:52:08 +0000 (02:52 +0300)
commit748922b31f7f1f48af76efc66a7af0674b1c4c06
tree8cf811b3af04966205810c07dfb116c2f0d47d95
parent8c2540ed564489dced716c08ce15ad15d558bd34
[SPIRV] support the enqueue_kernel builtin function

The patch adds support of the enqueue_kernel builtin function.
It is implemented in the same way as in the SPIRV translator.
2 LIT tests are added to show the improvement.

Differential Revision: https://reviews.llvm.org/D137018
llvm/CODE_OWNERS.TXT
llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
llvm/lib/Target/SPIRV/SPIRVBuiltins.td
llvm/lib/Target/SPIRV/SPIRVDuplicatesTracker.h
llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
llvm/lib/Target/SPIRV/SPIRVUtils.cpp
llvm/lib/Target/SPIRV/SPIRVUtils.h
llvm/test/CodeGen/SPIRV/EnqueueEmptyKernel.ll [new file with mode: 0644]
llvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll [new file with mode: 0644]