[all-commits] [llvm/llvm-project] 268149: [SPIRV] Allow multiple FuncParamAttr decoration on...

Marcos Maronas via All-commits all-commits at lists.llvm.org
Mon Nov 10 07:25:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2681497d1b3ddceabdb58edff932053270705f10
      https://github.com/llvm/llvm-project/commit/2681497d1b3ddceabdb58edff932053270705f10
  Author: Marcos Maronas <marcos.maronas at intel.com>
  Date:   2025-11-10 (Mon, 10 Nov 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/test/CodeGen/SPIRV/spirv_param_decorations_quals.ll

  Log Message:
  -----------
  [SPIRV] Allow multiple FuncParamAttr decoration on the same id. (#166782)

According to SPIR-V spec:

> It is invalid to decorate any given id or structure member more than
one time with the same
[decoration](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Decoration),
unless explicitly allowed below for a specific decoration.

`FuncParamAttr` explicitly allows multiple uses of the decoration on the
same id, so this patch honors it.



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