| commit | cf3a8876f4129f76884a67f6db9214adb7adedc6 | [log] [tgz] |
|---|---|---|
| author | Davide Grohmann <davide.grohmann@arm.com> | Tue Sep 02 21:18:10 2025 +0200 |
| committer | GitHub <noreply@github.com> | Tue Sep 02 15:18:10 2025 -0400 |
| tree | 24e0b63ebd90c00901d16f4c565858f12a1309c4 | |
| parent | 0c0c55a6e794779917132e48322a7222c76d11b6 [diff] |
[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>
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.