[clang] [Clang] Permit `vulkan` as an OS for the SPIRV target architecture (PR #196101)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 09:04:23 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 87802 tests passed
* 1531 tests skipped
* 4 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.Driver/dxc_I.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_3  -### /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_3 '-###' /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test:4:11: error: CHECK: expected string not found in input
# | // CHECK: "-x" "hlsl" "{{.*}}dxc_I.test"
# |           ^
# | <stdin>:1:1: note: scanning from here
# | /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:453: typename add_lvalue_reference<element_type>::type std::unique_ptr<clang::driver::ToolChain>::operator*() const [_Tp = clang::driver::ToolChain, _Dp = std::default_delete<clang::driver::ToolChain>]: Assertion 'get() != pointer()' failed.
# | ^
# | <stdin>:4:189: note: possible intended match here
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_3 -### /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test
# |                                                                                                                                                                                             ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:453: typename add_lvalue_reference<element_type>::type std::unique_ptr<clang::driver::ToolChain>::operator*() const [_Tp = clang::driver::ToolChain, _Dp = std::default_delete<clang::driver::ToolChain>]: Assertion 'get() != pointer()' failed. 
# | check:4'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3: Stack dump: 
# | check:4'0     ~~~~~~~~~~~~
# |            4: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_3 -### /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_I.test 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:4'1                                                                                                                                                                                                 ?                          possible intended match
# |            5: 1. Compilation construction 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6:  #0 0x00000000092ca1d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            7:  #1 0x00000000092c7141 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8:  #2 0x00000000092caff1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9:  #3 0x00000000092cae48 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Driver/dxc_options.hlsl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc  -fcolor-diagnostics  -fno-color-diagnostics  -fdiagnostics-color  -fno-diagnostics-color  -fdiagnostics-color=auto  -Tlib_6_7 -fdriver-only -- /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_options.hlsl 2>&1 |count 0
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -fcolor-diagnostics -fno-color-diagnostics -fdiagnostics-color -fno-diagnostics-color -fdiagnostics-color=auto -Tlib_6_7 -fdriver-only -- /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_options.hlsl
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: count 0
# .---command stderr------------
# | Expected 0 lines, got 25.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Driver/dxc_stdin.hlsl</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_7 - -### 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_stdin.hlsl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_7 - '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_stdin.hlsl
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_stdin.hlsl:2:11: error: CHECK: expected string not found in input
# | // CHECK: "-cc1"
# |           ^
# | <stdin>:1:1: note: scanning from here
# | /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:453: typename add_lvalue_reference<element_type>::type std::unique_ptr<clang::driver::ToolChain>::operator*() const [_Tp = clang::driver::ToolChain, _Dp = std::default_delete<clang::driver::ToolChain>]: Assertion 'get() != pointer()' failed.
# | ^
# | <stdin>:1:9: note: possible intended match here
# | /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:453: typename add_lvalue_reference<element_type>::type std::unique_ptr<clang::driver::ToolChain>::operator*() const [_Tp = clang::driver::ToolChain, _Dp = std::default_delete<clang::driver::ToolChain>]: Assertion 'get() != pointer()' failed.
# |         ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/dxc_stdin.hlsl
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:453: typename add_lvalue_reference<element_type>::type std::unique_ptr<clang::driver::ToolChain>::operator*() const [_Tp = clang::driver::ToolChain, _Dp = std::default_delete<clang::driver::ToolChain>]: Assertion 'get() != pointer()' failed. 
# | check:2'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:2'1             ?                                                                                                                                                                                                                                                                                                                        possible intended match
# |            2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3: Stack dump: 
# | check:2'0     ~~~~~~~~~~~~
# |            4: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc -Tlib_6_7 - -### 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: 1. Compilation construction 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6:  #0 0x00000000092ca1d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Driver/unknown-arg-drivermodes.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=cl                   --config                    -fno-record-command-line    -frecord-command-line       -nodefaultlibs              -nostdlib                   -rpath                      -shared                     -static                     -stdlib                     -Xoffload-linker            -### -x c++ -c - < /dev/null 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/unknown-arg-drivermodes.test --check-prefix=CL --implicit-check-not="warning:"
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=cl --config -fno-record-command-line -frecord-command-line -nodefaultlibs -nostdlib -rpath -shared -static -stdlib -Xoffload-linker '-###' -x c++ -c -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/unknown-arg-drivermodes.test --check-prefix=CL --implicit-check-not=warning:
# note: command had no output on stdout or stderr
# RUN: at line 15
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc              --config                    -fno-record-command-line    -frecord-command-line       -nodefaultlibs              -nostdlib                   -rpath                      -shared                     -static                     -stdlib                     -Xlinker                    -Xoffload-linker            -### -T lib_6_3 -Vd - < /dev/null 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/unknown-arg-drivermodes.test --check-prefix=DXC --implicit-check-not="error:"
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --driver-mode=dxc --config -fno-record-command-line -frecord-command-line -nodefaultlibs -nostdlib -rpath -shared -static -stdlib -Xlinker -Xoffload-linker '-###' -T lib_6_3 -Vd -
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/unknown-arg-drivermodes.test --check-prefix=DXC --implicit-check-not=error:
# note: command had no output on stdout or stderr

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/196101


More information about the cfe-commits mailing list