[all-commits] [llvm/llvm-project] 17c192: [mlir][spirv] Add support for structs decorations ...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Wed Jul 30 06:41:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17c1921b4a78b2ab3f455278c2a057d164863866
      https://github.com/llvm/llvm-project/commit/17c1921b4a78b2ab3f455278c2a057d164863866
  Author: Igor Wodiany <igor.wodiany at imgtec.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTypes.h
    M mlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
    M mlir/lib/Target/SPIRV/Deserialization/Deserializer.h
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/test/Dialect/SPIRV/IR/types.mlir
    M mlir/test/Target/SPIRV/memory-ops.mlir
    M mlir/test/Target/SPIRV/struct.mlir
    M mlir/test/Target/SPIRV/undef.mlir

  Log Message:
  -----------
  [mlir][spirv] Add support for structs decorations (#149793)

An alternative implementation could use `ArrayRef` of `NamedAttribute`s
or `NamedAttrList` to store structs decorations, as the deserializer
uses `NamedAttribute`s for decorations. However, using a custom struct
allows us to store the `spirv::Decoration`s directly rather than its
name in a `StringRef`/`StringAttr`.



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