[all-commits] [llvm/llvm-project] 1a746b: [mlir][spirv] Add support for SPV_ARM_graph extens...

Davide Grohmann via All-commits all-commits at lists.llvm.org
Fri Sep 12 06:51:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a746b6ca3862165360c48fff5d807d5b400b541
      https://github.com/llvm/llvm-project/commit/1a746b6ca3862165360c48fff5d807d5b400b541
  Author: Davide Grohmann <davide.grohmann at arm.com>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.h
    M mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.h
    A mlir/test/Target/SPIRV/graph-ops.mlir

  Log Message:
  -----------
  [mlir][spirv] Add support for SPV_ARM_graph extension - part 2 (#156665)

This is the second 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 2 implementation includes:

- Serialization and deserialization support for:
- `OpGraphARM`, `OpGraphInputARM`, `OpGraphSetOutputARM`,
`OpGraphEndARM`
  - `OpGraphEntryPointARM`, `OpGraphConstantARM`, `OpTypeGraphARM`
- Tests covering binary round-tripping.

Graphs currently support only `SPV_ARM_tensors`, but are designed to
generalize to other resource types, such as images.

Spec: https://github.com/KhronosGroup/SPIRV-Registry/pull/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 at arm.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list