aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2025-07-02 19:36:31 +0200
committerGitHub <noreply@github.com>2025-07-02 13:36:31 -0400
commitbf016b930b5ccb3072370399845067cf55e62732 (patch)
tree43bccf5dafabd468f451fa86b307dcf147dd02e3 /clang/lib/Frontend/CompilerInvocation.cpp
parent1626867ccdf4d9dabb7958a87766fdd16b513a0f (diff)
downloadllvm-bf016b930b5ccb3072370399845067cf55e62732.zip
llvm-bf016b930b5ccb3072370399845067cf55e62732.tar.gz
llvm-bf016b930b5ccb3072370399845067cf55e62732.tar.bz2
[mlir][spirv] Add support for SPV_ARM_tensors (#144667)
This patch introduces a new custom type `!spirv.arm.tensor<>` to the MLIR SPIR-V dialect to represent `OpTypeTensorARM` as defined in the `SPV_ARM_tensors` extension. The type models a shaped tensor with element type and optional shape, and implements the `ShapedType` interface to enable reuse of MLIR's existing shape-aware infrastructure. The type supports serialization to and from SPIR-V binary as `OpTypeTensorARM`, and emits the required capability (`TensorsARM`) and extension (`SPV_ARM_tensors`) declarations automatically. This addition lays the foundation for supporting structured tensor values natively in SPIR-V and will enable future support for operations defined in the `SPV_ARM_tensors` extension, such as `OpTensorReadARM`, `OpTensorWriteARM`, and `OpTensorQuerySizeARM`. Reference: https://github.com/KhronosGroup/SPIRV-Registry/pull/342 --------- Signed-off-by: Davide Grohmann <davide.grohmann@arm.com> Signed-off-by: Mohammadreza Ameri Mahabadian <mohammadreza.amerimahabadian@arm.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions