[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, 8 Feb 2024 21:48:18 +0000 (22:48 +0100)
commit8261502e9919133c4d3af4109b2dc872f78e1eca
tree53dba8e71a993c88dd46550b400d02ab69f54fb9
parent2f69ba1aaf04988d8ad2cb8855e0ae46df29a7c8
[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]