[all-commits] [llvm/llvm-project] 030714: [NFC][SPIRV] Add AMDGCN SPIR-V specific defaults t...
Alex Voicu via All-commits
all-commits at lists.llvm.org
Tue Nov 4 04:46:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0307147105d569e45f1d5a7e81d128e90fd648be
https://github.com/llvm/llvm-project/commit/0307147105d569e45f1d5a7e81d128e90fd648be
Author: Alex Voicu <alexandru.voicu at amd.com>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
M llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp
M llvm/test/CodeGen/SPIRV/debug-info/debug-type-pointer.ll
M llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_optnone.ll
M llvm/test/CodeGen/SPIRV/extensions/enable-all-extensions.ll
M llvm/test/CodeGen/SPIRV/physical-layout/generator-magic-number.ll
M llvm/test/CodeGen/SPIRV/physical-layout/spirv-version.ll
Log Message:
-----------
[NFC][SPIRV] Add AMDGCN SPIR-V specific defaults to the BE (#165815)
AMDGCN flavoured SPIR-V has slightly different defaults from what the BE
adopts: it assumes all extensions are enabled, and expects nonsemantic
debug info to be generated. Furthermore, it is necessary to encode in
the resulting SPIR-V binary that what was generated was AMDGCN
flavoured, which we do by setting the Generator Version to `UINT16_MAX`
(which matches what we expect to see at reverse translation). We will
register this generator version at
<https://github.com/KhronosGroup/SPIRV-Headers>. This is a preliminary
patch out of a series of patches that are needed for adopting the BE for
AMDGCN flavoured SPIR-V generation.
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