[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: Windows-->
# :window: Windows x64 Test Results

* 53842 tests passed
* 1182 tests skipped
* 3 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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe --driver-mode=dxc -Tlib_6_3  -### C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_I.test 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_I.test
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' --driver-mode=dxc -Tlib_6_3 '-###' 'C:\_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: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_I.test'
# .---command stderr------------
# | C:\_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
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | ^
# | <stdin>:3:162: note: possible intended match here
# | 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe --driver-mode=dxc -Tlib_6_3 -### C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\dxc_I.test
# |                                                                                                                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_I.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: 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     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: Stack dump: 
# | check:4'0     ~~~~~~~~~~~~
# |            3: 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe --driver-mode=dxc -Tlib_6_3 -### C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Driver\\dxc_I.test 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:4'1                                                                                                                                                                      ?                          possible intended match
# |            4: 1. Compilation construction 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: Exception Code: 0xC0000005 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6: #0 0x00007ff7cc2e08ac (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9408ac) 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            7: #1 0x00007ff7cb9a31ef (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x31ef) 
# | check:4'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8: #2 0x00007ff7cb9b7cac (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x17cac) 
# | 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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe --driver-mode=dxc  -fcolor-diagnostics  -fno-color-diagnostics  -fdiagnostics-color  -fno-diagnostics-color  -fdiagnostics-color=auto  -Tlib_6_7 -fdriver-only -- C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_options.hlsl 2>&1 |count 0
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' --driver-mode=dxc -fcolor-diagnostics -fno-color-diagnostics -fdiagnostics-color -fno-diagnostics-color -fdiagnostics-color=auto -Tlib_6_7 -fdriver-only -- 'C:\_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: 0xc0000005
# executed command: count 0
# .---command stderr------------
# | Expected 0 lines, got 11.
# `-----------------------------
# 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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe --driver-mode=dxc -Tlib_6_7 - -### 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_stdin.hlsl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' --driver-mode=dxc -Tlib_6_7 - '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_stdin.hlsl'
# .---command stderr------------
# | C:\_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
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | ^
# | <stdin>:6:12: note: possible intended match here
# | #0 0x00007ff7cc2e08ac (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9408ac)
# |            ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Driver\dxc_stdin.hlsl
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: 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     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: Stack dump: 
# | check:2'0     ~~~~~~~~~~~~
# |            3: 0. Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe --driver-mode=dxc -Tlib_6_7 - -### 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            4: 1. Compilation construction 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: Exception Code: 0xC0000005 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6: #0 0x00007ff7cc2e08ac (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9408ac) 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:2'1                ?                                                                             possible intended match
# |            7: #1 0x00007ff7cb9a31ef (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x31ef) 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8: #2 0x00007ff7cb9b7cac (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x17cac) 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9: #3 0x00007ff7d2ee8c30 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7548c30) 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10: #4 0x00007fffd5534cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0) 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11: #5 0x00007fffe151edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb) 
# | check:2'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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