[clang] [clang][AMDGPU] Widen ballot for read_exec_lo/hi to wavefront size (PR #212813)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 3 01:36:12 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 55908 tests passed
* 1453 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenOpenCL/builtins-amdgcn-wave32.cl</summary>
```
Exit Code: 2
Command Output (stdout):
--
# 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\24\include -nostdsysteminc -cl-std=CL2.0 -triple amdgpu-unknown-unknown -target-feature +wavefrontsize32 -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -cl-std=CL2.0 -triple amdgpu-unknown-unknown -target-feature +wavefrontsize32 -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl'
# 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\24\include -nostdsysteminc -cl-std=CL2.0 -triple amdgpu10.10-unknown-unknown -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -cl-std=CL2.0 -triple amdgpu10.10-unknown-unknown -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl'
# .---command stderr------------
# | Assertion failed: castIsValid(op, S, Ty) && "Invalid cast!", file C:\_work\llvm-project\llvm-project\llvm\lib\IR\Instructions.cpp, line 3105
# | 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\\24\\include -nostdsysteminc -cl-std=CL2.0 -triple amdgpu10.10-unknown-unknown -emit-llvm -o - C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGenOpenCL\\builtins-amdgcn-wave32.cl
# | 1. C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl:42:1: current parser token 'void'
# | 2. C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl:36:6: LLVM IR generation of declaration 'test_read_exec'
# | 3. C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl:36:6: Generating code for declaration 'test_read_exec'
# | Exception Code: 0xC000001D
# | #0 0x00007ff6cde7e5c6 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x86e5c6)
# | #1 0x00007ff8a1b3bb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# | #2 0x00007ff8a1b3cad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# | #3 0x00007ff8a1b3e4a1 (C:\Windows\System32\ucrtbase.dll+0x7e4a1)
# | #4 0x00007ff8a1b3e6e1 (C:\Windows\System32\ucrtbase.dll+0x7e6e1)
# | #5 0x00007ff6ce5fb923 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xfeb923)
# | #6 0x00007ff6d46d2ecb (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x70c2ecb)
# | #7 0x00007ff6d3defac1 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67dfac1)
# | #8 0x00007ff6d3e0e6c2 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x67fe6c2)
# | #9 0x00007ff6d25016db (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4ef16db)
# | #10 0x00007ff6d3c4dd07 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x663dd07)
# | #11 0x00007ff6d3c333aa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x66233aa)
# | #12 0x00007ff6d3c569a0 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x66469a0)
# | #13 0x00007ff6d3c43dfe (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6633dfe)
# | #14 0x00007ff6d3c33253 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x6623253)
# | #15 0x00007ff6d24c9f9c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4eb9f9c)
# | #16 0x00007ff6d24c9ea1 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4eb9ea1)
# | #17 0x00007ff6d27acb73 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x519cb73)
# | #18 0x00007ff6d27b5cf5 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x51a5cf5)
# | #19 0x00007ff6d24911df (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4e811df)
# | #20 0x00007ff6cfeb10b3 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28a10b3)
# | #21 0x00007ff6cfea73bb (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28973bb)
# | #22 0x00007ff6cfead72b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x289d72b)
# | #23 0x00007ff6cfea5c63 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2895c63)
# | #24 0x00007ff6d353753b (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x5f2753b)
# | #25 0x00007ff6d0536167 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2f26167)
# | #26 0x00007ff6d348b379 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x5e7b379)
# | #27 0x00007ff6d04959df (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x2e859df)
# | #28 0x00007ff6cdfc5a50 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x9b5a50)
# | #29 0x00007ff6ce07066c (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0xa6066c)
# | #30 0x00007ff6cd6187ce (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x87ce)
# | #31 0x00007ff6cd614144 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x4144)
# | #32 0x00007ff6cd6128fa (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x28fa)
# | #33 0x00007ff6cd6278cc (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x178cc)
# | #34 0x00007ff6d4c21710 (c:\_work\llvm-project\llvm-project\build\bin\clang.exe+0x7611710)
# | #35 0x00007ff8ab684cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #36 0x00007ff8b745edfb (C:\Windows\SYSTEM32\ntdll.dll+0x7edfb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-wave32.cl
# `-----------------------------
# error: command failed with exit status: 2
--
```
</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/212813
More information about the cfe-commits
mailing list