[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:05:28 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-win-x-aarch64` running on `as-builder-2` while building `clang,libc` at step 10 "test-check-clang".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/193/builds/5476

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 10 (test-check-clang) failure: Test just built components: check-clang completed (failure)
******************** TEST 'Clang :: Headers/gpuintrin.c' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe -cc1 -internal-isystem C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\21\include -nostdsysteminc -internal-isystem C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers/Inputs/include    -internal-isystem C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers/../../lib/Headers/    -triple amdgcn-amd-amdhsa -emit-llvm C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers\gpuintrin.c -o -  | c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers\gpuintrin.c --check-prefix=AMDGPU
# executed command: 'c:\buildbot\as-builder-2\x-aarch64\build\bin\clang.exe' -cc1 -internal-isystem 'C:\buildbot\as-builder-2\x-aarch64\build\lib\clang\21\include' -nostdsysteminc -internal-isystem 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers/Inputs/include' -internal-isystem 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers/../../lib/Headers/' -triple amdgcn-amd-amdhsa -emit-llvm 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers\gpuintrin.c' -o -
# .---command stderr------------
# | C:\buildbot\as-builder-2\x-aarch64\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:\buildbot\as-builder-2\x-aarch64\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:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\clang\test\Headers\gpuintrin.c' --check-prefix=AMDGPU
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\buildbot\as-builder-2\x-aarch64\build\bin\filecheck.exe C:\buildbot\as-builder-2\x-aarch64\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