[libc-commits] [clang] [libc] [Clang] Add width handling for <gpuintrin.h> shuffle helper (PR #125896)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Wed Feb 5 13:24:25 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-windows` running on `premerge-windows-1` while building `clang,libc` at step 5 "clean-build-dir".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/7012
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (clean-build-dir) failure: Delete failed. (failure)
Step 8 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: Headers/gpuintrin.c' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -cc1 -internal-isystem C:\ws\buildbot\premerge-monolithic-windows\build\lib\clang\21\include -nostdsysteminc -internal-isystem C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers/Inputs/include -internal-isystem C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers/../../lib/Headers/ -triple amdgcn-amd-amdhsa -emit-llvm C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers\gpuintrin.c -o - | c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers\gpuintrin.c --check-prefix=AMDGPU
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe' -cc1 -internal-isystem 'C:\ws\buildbot\premerge-monolithic-windows\build\lib\clang\21\include' -nostdsysteminc -internal-isystem 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers/Inputs/include' -internal-isystem 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers/../../lib/Headers/' -triple amdgcn-amd-amdhsa -emit-llvm 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers\gpuintrin.c' -o -
# .---command stderr------------
# | C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers\gpuintrin.c:103:35: error: too few arguments to function call, expected 4, have 3
# | 103 | __gpu_shuffle_idx_u32(-1, -1, -1);
# | | ~~~~~~~~~~~~~~~~~~~~~ ^
# | C:\ws\buildbot\premerge-monolithic-windows\build\lib\clang\21\include\amdgpuintrin.h:148:1: note: '__gpu_shuffle_idx_u32' declared here
# | 148 | __gpu_shuffle_idx_u32(uint64_t __lane_mask, uint32_t __idx, uint32_t __x,
# | | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 149 | uint32_t __width) {
# | | ~~~~~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe' 'C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers\gpuintrin.c' --check-prefix=AMDGPU
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: c:\ws\buildbot\premerge-monolithic-windows\build\bin\filecheck.exe C:\ws\buildbot\premerge-monolithic-windows\llvm-project\clang\test\Headers\gpuintrin.c --check-prefix=AMDGPU
# `-----------------------------
# error: command failed with exit status: 2
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/125896
More information about the libc-commits
mailing list