[all-commits] [llvm/llvm-project] b1880a: [SPIR-V] Add NonSemantic.AuxData emission (-spirv-...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Tue Jun 9 05:59:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1880a09469217aab192ded75643f860fb3d55a8
      https://github.com/llvm/llvm-project/commit/b1880a09469217aab192ded75643f860fb3d55a8
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/CMakeLists.txt
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
    A llvm/lib/Target/SPIRV/SPIRVAuxDataHandler.cpp
    A llvm/lib/Target/SPIRV/SPIRVAuxDataHandler.h
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.h
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-all-function-attributes.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-all-function-metadata-debug.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-all-function-metadata.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-auxdata-requires-extension.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-auxdata.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-gv-attributes.ll
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_non_semantic_info/preserve-gv-metadata.ll
    A llvm/test/CodeGen/SPIRV/linkage/available-externally-function.ll
    A llvm/test/CodeGen/SPIRV/linkage/available-externally-global.ll
    M llvm/test/CodeGen/SPIRV/linkage/linkage-types.ll

  Log Message:
  -----------
  [SPIR-V] Add NonSemantic.AuxData emission (-spirv-preserve-auxdata) (#200002)

Add a NonSemantic.AuxData extended instruction set to the SPIR-V
backend, matching SPIRV-LLVM-Translator's --spirv-preserve-auxdata wire
format

- `-spirv-preserve-auxdata` emits LLVM attributes and metadata as
NonSemantic.AuxData records (requires SPV_KHR_non_semantic_info).
- `available_externally` functions keep their linkage via an AuxData
linkage record, emitted unconditionally.



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