[all-commits] [llvm/llvm-project] a8e787: [Clang] Permit `vulkan` as an OS for the SPIRV tar...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu May 7 06:43:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a8e787ef54b2eeadd46ed2e48e62f40ca88a1e5c
https://github.com/llvm/llvm-project/commit/a8e787ef54b2eeadd46ed2e48e62f40ca88a1e5c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/SPIR.h
M clang/lib/Driver/Driver.cpp
M clang/test/CodeGen/target-data.c
M clang/test/Driver/spirv-toolchain.cl
Log Message:
-----------
[Clang] Permit `vulkan` as an OS for the SPIRV target architecture (#196101)
Summary:
This is currently rejected in two places, the toolchain creation and the
target itself. For the target we just permit it in the same way we alloe
things like 'amdhsa'. For the driver, the current handling just assumed
everything with 'vulkan' was HLSL. This shouldn't be true so we check
the source file type, and only push through actual HLSL files.
This is intended to more canonically support the 'CLSPV' target that
google has.
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