diff options
author | Davide Grohmann <davide.grohmann@arm.com> | 2025-09-02 21:18:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-02 15:18:10 -0400 |
commit | cf3a8876f4129f76884a67f6db9214adb7adedc6 (patch) | |
tree | 24e0b63ebd90c00901d16f4c565858f12a1309c4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0c0c55a6e794779917132e48322a7222c76d11b6 (diff) | |
download | llvm-cf3a8876f4129f76884a67f6db9214adb7adedc6.zip llvm-cf3a8876f4129f76884a67f6db9214adb7adedc6.tar.gz llvm-cf3a8876f4129f76884a67f6db9214adb7adedc6.tar.bz2 |
[mlir][spirv] Add support for SPV_ARM_graph extension - part 1 (#151934)
This is the first patch to add support for the SPV_ARM_graph SPIR-V
extension to MLIR’s SPIR-V dialect. The extension introduces a new Graph
abstraction for expressing dataflow computations over full resources.
The part 1 implementation includes:
- A new `GraphType`, modeled similarly to `FunctionType`, for typed
graph signatures.
- New operations in the `spirv.arm` namespace:
- `spirv.arm.Graph`
- `spirv.arm.GraphEntryPoint`
- `spirv.arm.GraphConstant`
- `spirv.arm.GraphOutput`
- Verifier and VCE updates to properly gate usage under SPV_ARM_graph.
- Tests covering parsing and verification.
Graphs currently support only SPV_ARM_tensors, but are designed to
generalize to other resource types, such as images.
Spec: KhronosGroup/SPIRV-Registry#346
RFC:
https://discourse.llvm.org/t/rfc-add-support-for-spv-arm-graph-extension-in-mlir-spir-v-dialect/86947
---------
Signed-off-by: Davide Grohmann <davide.grohmann@arm.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions