[clang] [SYCL][SPIR-V][Windows] Extend BaseSPIRTargetInfo host-adaptation for Windows support (PR #208196)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 12 15:21:16 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 55772 tests passed
* 1379 tests skipped
* 5 tests failed

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

### Clang
<details>
<summary>Clang.CodeGenCUDASPIRV/copy-aggregate-byval.cu</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -emit-llvm --cuda-device-only --offload=spirv32    -nocudalib -nocudainc C:\_work\llvm-project\llvm-project\clang\test\CodeGenCUDASPIRV\copy-aggregate-byval.cu -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCUDASPIRV\Output\copy-aggregate-byval.cu.tmp.bc -c 2>&1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -emit-llvm --cuda-device-only --offload=spirv32 -nocudalib -nocudainc 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCUDASPIRV\copy-aggregate-byval.cu' -o 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCUDASPIRV\Output\copy-aggregate-byval.cu.tmp.bc' -c
# .---command stdout------------
# | Assertion failed: PointerWidth == 32 && "32-bit SPIR-V target requires a 32-bit host", file C:\_work\llvm-project\llvm-project\clang\lib\Basic\Targets/SPIR.h, line 410
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -emit-llvm --cuda-device-only --offload=spirv32 -nocudalib -nocudainc C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGenCUDASPIRV\\copy-aggregate-byval.cu -o C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\CodeGenCUDASPIRV\\Output\\copy-aggregate-byval.cu.tmp.bc -c
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6a62e9486 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x869486)
# |  #1 0x00007ff95e73bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff95e73cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff95e73e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ff95e73e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6a8821d2c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2da1d2c)
# |  #6 0x00007ff6a8809445 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d89445)
# |  #7 0x00007ff6a88103e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d903e4)
# |  #8 0x00007ff6a642f208 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9af208)
# |  #9 0x00007ff6a6434fcd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b4fcd)
# | #10 0x00007ff6a64d421c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa5421c)
# | #11 0x00007ff6a5a887ce (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87ce)
# | #12 0x00007ff6a5a84144 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4144)
# | #13 0x00007ff6a5a86e3b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6e3b)
# | #14 0x00007ff6a8664e2d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2be4e2d)
# | #15 0x00007ff6a62e4949 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x864949)
# | #16 0x00007ff6a866430c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2be430c)
# | #17 0x00007ff6a6413759 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x993759)
# | #18 0x00007ff6a6413f17 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x993f17)
# | #19 0x00007ff6a63f162c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x97162c)
# | #20 0x00007ff6a5a834ee (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x34ee)
# | #21 0x00007ff6a5a978cc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x178cc)
# | #22 0x00007ff6acfc8b70 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7548b70)
# | #23 0x00007ff962a44cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #24 0x00007ff97471edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# | clang: error: clang frontend command failed due to signal (use -v to see invocation)
# | clang version 23.0.0git (https://github.com/llvm/llvm-project d159d146f36e6721c3f87b5fe8d185b916994deb)
# | Target: x86_64-pc-windows-msvc
# | Thread model: posix
# | InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
# | Build config: +assertions
# | clang: note: diagnostic msg: Error generating preprocessed source(s).
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CodeGenCUDASPIRV/kernel-argument.cu</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -emit-llvm --cuda-device-only --offload=spirv32    -nocudalib -nocudainc C:\_work\llvm-project\llvm-project\clang\test\CodeGenCUDASPIRV\kernel-argument.cu -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCUDASPIRV\Output\kernel-argument.cu.tmp.bc -c 2>&1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -emit-llvm --cuda-device-only --offload=spirv32 -nocudalib -nocudainc 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenCUDASPIRV\kernel-argument.cu' -o 'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CodeGenCUDASPIRV\Output\kernel-argument.cu.tmp.bc' -c
# .---command stdout------------
# | Assertion failed: PointerWidth == 32 && "32-bit SPIR-V target requires a 32-bit host", file C:\_work\llvm-project\llvm-project\clang\lib\Basic\Targets/SPIR.h, line 410
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -emit-llvm --cuda-device-only --offload=spirv32 -nocudalib -nocudainc C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGenCUDASPIRV\\kernel-argument.cu -o C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\test\\CodeGenCUDASPIRV\\Output\\kernel-argument.cu.tmp.bc -c
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6a62e9486 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x869486)
# |  #1 0x00007ff95e73bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff95e73cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff95e73e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ff95e73e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6a8821d2c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2da1d2c)
# |  #6 0x00007ff6a8809445 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d89445)
# |  #7 0x00007ff6a88103e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d903e4)
# |  #8 0x00007ff6a642f208 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9af208)
# |  #9 0x00007ff6a6434fcd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b4fcd)
# | #10 0x00007ff6a64d421c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa5421c)
# | #11 0x00007ff6a5a887ce (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87ce)
# | #12 0x00007ff6a5a84144 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4144)
# | #13 0x00007ff6a5a86e3b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6e3b)
# | #14 0x00007ff6a8664e2d (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2be4e2d)
# | #15 0x00007ff6a62e4949 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x864949)
# | #16 0x00007ff6a866430c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2be430c)
# | #17 0x00007ff6a6413759 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x993759)
# | #18 0x00007ff6a6413f17 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x993f17)
# | #19 0x00007ff6a63f162c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x97162c)
# | #20 0x00007ff6a5a834ee (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x34ee)
# | #21 0x00007ff6a5a978cc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x178cc)
# | #22 0x00007ff6acfc8b70 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7548b70)
# | #23 0x00007ff962a44cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #24 0x00007ff97471edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# | clang: error: clang frontend command failed due to signal (use -v to see invocation)
# | clang version 23.0.0git (https://github.com/llvm/llvm-project d159d146f36e6721c3f87b5fe8d185b916994deb)
# | Target: x86_64-pc-windows-msvc
# | Thread model: posix
# | InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
# | Build config: +assertions
# | clang: note: diagnostic msg: Error generating preprocessed source(s).
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CodeGenSYCL/kernel-caller-entry-point.cpp</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -fsycl-is-host -emit-llvm -triple x86_64-unknown-linux-gnu -std=c++17 C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-HOST,CHECK-HOST-LINUX C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fsycl-is-host -emit-llvm -triple x86_64-unknown-linux-gnu -std=c++17 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK-HOST,CHECK-HOST-LINUX 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple amdgcn-amd-amdhsa -std=c++17 C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-DEVICE,CHECK-AMDGCN C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple amdgcn-amd-amdhsa -std=c++17 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK-DEVICE,CHECK-AMDGCN 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple nvptx-nvidia-cuda -std=c++17 C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-DEVICE,CHECK-NVPTX C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple nvptx-nvidia-cuda -std=c++17 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK-DEVICE,CHECK-NVPTX 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple nvptx64-nvidia-cuda -std=c++17 C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-DEVICE,CHECK-NVPTX C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple nvptx64-nvidia-cuda -std=c++17 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK-DEVICE,CHECK-NVPTX 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple spir-unknown-unknown -std=c++17 C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-DEVICE,CHECK-SPIR,CHECK-SPIRNV C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple spir-unknown-unknown -std=c++17 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp' -o -
# .---command stderr------------
# | Assertion failed: PointerWidth == 32 && "32-bit SPIR target requires a 32-bit host", file C:\_work\llvm-project\llvm-project\clang\lib\Basic\Targets/SPIR.h, line 291
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include -nostdsysteminc -fsycl-is-device -emit-llvm -aux-triple x86_64-unknown-linux-gnu -triple spir-unknown-unknown -std=c++17 C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGenSYCL\\kernel-caller-entry-point.cpp -o -
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6a62e9486 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x869486)
# |  #1 0x00007ff95e73bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff95e73cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff95e73e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ff95e73e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6a8821429 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2da1429)
# |  #6 0x00007ff6a88093f3 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d893f3)
# |  #7 0x00007ff6a88103e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d903e4)
# |  #8 0x00007ff6a642f208 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9af208)
# |  #9 0x00007ff6a6434fcd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b4fcd)
# | #10 0x00007ff6a64d421c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa5421c)
# | #11 0x00007ff6a5a887ce (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87ce)
# | #12 0x00007ff6a5a84144 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4144)
# | #13 0x00007ff6a5a828fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28fa)
# | #14 0x00007ff6a5a978cc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x178cc)
# | #15 0x00007ff6acfc8b70 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7548b70)
# | #16 0x00007ff962a44cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #17 0x00007ff97471edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK-DEVICE,CHECK-SPIR,CHECK-SPIRNV 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK-DEVICE,CHECK-SPIR,CHECK-SPIRNV C:\_work\llvm-project\llvm-project\clang\test\CodeGenSYCL\kernel-caller-entry-point.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.Frontend/sycl-aux-triple.cpp</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp' -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp -fsycl-is-device -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK-SYCL C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp' -fsycl-is-device -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM
# .---command stderr------------
# | Assertion failed: PointerWidth == 32 && "32-bit SPIR target requires a 32-bit host", file C:\_work\llvm-project\llvm-project\clang\lib\Basic\Targets/SPIR.h, line 291
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include -nostdsysteminc C:\\_work\\llvm-project\\llvm-project\\clang\\test\\Frontend\\sycl-aux-triple.cpp -fsycl-is-device -triple spir -aux-triple x86_64-unknown-linux-gnu -E -dM
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6a62e9486 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x869486)
# |  #1 0x00007ff95e73bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff95e73cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff95e73e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ff95e73e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6a8821429 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2da1429)
# |  #6 0x00007ff6a88093f3 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d893f3)
# |  #7 0x00007ff6a88103e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d903e4)
# |  #8 0x00007ff6a642f208 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9af208)
# |  #9 0x00007ff6a6434fcd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b4fcd)
# | #10 0x00007ff6a64d421c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa5421c)
# | #11 0x00007ff6a5a887ce (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87ce)
# | #12 0x00007ff6a5a84144 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4144)
# | #13 0x00007ff6a5a828fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28fa)
# | #14 0x00007ff6a5a978cc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x178cc)
# | #15 0x00007ff6acfc8b70 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7548b70)
# | #16 0x00007ff962a44cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #17 0x00007ff97471edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=CHECK-SYCL 'C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=CHECK-SYCL C:\_work\llvm-project\llvm-project\clang\test\Frontend\sycl-aux-triple.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.SemaHIP/amdgcnspirv-implicit-alloc-function-calling-conv.hip</summary>

```
Exit Code: 3221225501

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip -fcuda-is-device -std=c++17 -triple spirv32 -verify
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip' -fcuda-is-device -std=c++17 -triple spirv32 -verify
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip -fcuda-is-device -std=c++17 -triple spirv64 -verify
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip' -fcuda-is-device -std=c++17 -triple spirv64 -verify
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip -fcuda-is-device -std=c++17 -triple spirv64-amd-amdhsa -verify
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip' -fcuda-is-device -std=c++17 -triple spirv64-amd-amdhsa -verify
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip -fcuda-is-device -std=c++17 -triple spirv32 -aux-triple x86_64-unknown-linux-gnu -verify
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 'C:\_work\llvm-project\llvm-project\clang\test\SemaHIP\amdgcnspirv-implicit-alloc-function-calling-conv.hip' -fcuda-is-device -std=c++17 -triple spirv32 -aux-triple x86_64-unknown-linux-gnu -verify
# .---command stderr------------
# | Assertion failed: PointerWidth == 32 && "32-bit SPIR-V target requires a 32-bit host", file C:\_work\llvm-project\llvm-project\clang\lib\Basic\Targets/SPIR.h, line 410
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\clang.exe -cc1 -internal-isystem C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23\\include -nostdsysteminc C:\\_work\\llvm-project\\llvm-project\\clang\\test\\SemaHIP\\amdgcnspirv-implicit-alloc-function-calling-conv.hip -fcuda-is-device -std=c++17 -triple spirv32 -aux-triple x86_64-unknown-linux-gnu -verify
# | Exception Code: 0xC000001D
# |  #0 0x00007ff6a62e9486 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x869486)
# |  #1 0x00007ff95e73bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff95e73cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff95e73e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# |  #4 0x00007ff95e73e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# |  #5 0x00007ff6a8821d2c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2da1d2c)
# |  #6 0x00007ff6a8809445 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d89445)
# |  #7 0x00007ff6a88103e4 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2d903e4)
# |  #8 0x00007ff6a642f208 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9af208)
# |  #9 0x00007ff6a6434fcd (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b4fcd)
# | #10 0x00007ff6a64d421c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa5421c)
# | #11 0x00007ff6a5a887ce (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87ce)
# | #12 0x00007ff6a5a84144 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4144)
# | #13 0x00007ff6a5a828fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28fa)
# | #14 0x00007ff6a5a978cc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x178cc)
# | #15 0x00007ff6acfc8b70 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7548b70)
# | #16 0x00007ff962a44cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #17 0x00007ff97471edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d

--

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


More information about the cfe-commits mailing list