[clang] [AMDGPU] Add `wave_id` and `wave_shuffle` Clang builtins. (PR #179492)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 3 08:43:33 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 52365 tests passed
* 932 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGenOpenCL/builtins-amdgcn-gfx12.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\23\include -nostdsysteminc -cl-std=CL2.0 -O0 -triple amdgcn-unknown-unknown -target-cpu gfx1200 -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12.cl | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12.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\23\include' -nostdsysteminc -cl-std=CL2.0 -O0 -triple amdgcn-unknown-unknown -target-cpu gfx1200 -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12.cl'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12.cl:334:10: error: cannot compile this builtin function yet
# | 334 | *out = __builtin_amdgcn_wave_id();
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12.cl'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\builtins-amdgcn-gfx12.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/179492
More information about the cfe-commits
mailing list