[PATCH 06/79] [Backport to 15] Add SPV_INTEL_masked_gather_scatter extension (#1580...
authorStanley Gambarin <stanley.gambarin@intel.com>
Tue, 8 Nov 2022 16:04:36 +0000 (08:04 -0800)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commitb194dd8bf9faadf1f060e712c41a118831f6f453
tree138ba3a9d47ba57bfeafc35917cfddd07444590f
parente02d8b482038e9d7cffac99caa262483759a4b24
[PATCH 06/79] [Backport to 15] Add SPV_INTEL_masked_gather_scatter extension (#1580) (#1695)

This extension allows TypeVector to have a Physical Pointer Type
Component Type and introduces gather/scatter instructions.
It will be useful for explicitly vectorized kernels.

Spec: https://github.com/intel/llvm/pull/6613

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com
Co-authored-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
Gbp-Pq: Name 0006-Backport-to-15-Add-SPV_INTEL_masked_gather_scatter-e.patch
13 files changed:
include/LLVMSPIRVExtensions.inc
lib/SPIRV/SPIRVReader.cpp
lib/SPIRV/SPIRVRegularizeLLVM.cpp
lib/SPIRV/SPIRVWriter.cpp
lib/SPIRV/libSPIRV/SPIRVInstruction.h
lib/SPIRV/libSPIRV/SPIRVNameMapEnum.h
lib/SPIRV/libSPIRV/SPIRVOpCodeEnumInternal.h
lib/SPIRV/libSPIRV/SPIRVType.cpp
lib/SPIRV/libSPIRV/SPIRVType.h
lib/SPIRV/libSPIRV/spirv_internal.hpp
test/transcoding/SPV_INTEL_function_pointers/vector_elem.ll
test/transcoding/SPV_INTEL_masked_gather_scatter/intel-basic-vector-pointers.ll [new file with mode: 0644]
test/transcoding/SPV_INTEL_masked_gather_scatter/intel-gather-scatter.ll [new file with mode: 0644]