github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 53438 tests passed
* 1045 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Headers/gpuintrin.c</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
-internal-isystem
C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include
-internal-isystem
C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/
-triple amdgcn-amd-amdhsa -emit-llvm
C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c -o - |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c
--check-prefix=AMDGPU
# 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
-internal-isystem
'C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include'
-internal-isystem
'C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/'
-triple amdgcn-amd-amdhsa -emit-llvm
'C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c' -o -
# .---command stderr------------
# | In file included from
C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c:16:
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:249:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, add, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:249:1:
error: use of undeclared identifier '__above'
# | 249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, add, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, add, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1:
error: use of undeclared identifier '__above'
# | 250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, add, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 251 | __DO_LANE_OPS(float, __GPU_OP, 0, add, f32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1:
error: use of undeclared identifier '__above'
# | 251 | __DO_LANE_OPS(float, __GPU_OP, 0, add, f32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 252 | __DO_LANE_OPS(double, __GPU_OP, 0, add, f64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1:
error: use of undeclared identifier '__above'
# | 252 | __DO_LANE_OPS(double, __GPU_OP, 0, add, f64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 256 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, and, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1:
error: use of undeclared identifier '__above'
# | 256 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, and, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 257 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, and, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1:
error: use of undeclared identifier '__above'
# | 257 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, and, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1:
error: use of undeclared identifier '__above'
# | 261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1:
error: use of undeclared identifier '__above'
# | 262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1:
error: use of undeclared identifier '__above'
# | 266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1:
error: use of undeclared identifier '__above'
# | 267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 271 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, min, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1:
error: use of undeclared identifier '__above'
# | 271 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, min, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 272 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, min, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1:
error: use of undeclared identifier '__above'
# | 272 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, min, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1:
error: use of undeclared identifier '__above'
# | 276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1:
error: use of undeclared identifier '__above'
# | 277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1:
error: use of undeclared identifier '__above'
# | 281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1:
error: use of undeclared identifier '__above'
# | 282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1:
error: use of undeclared identifier '__above'
# | 286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1:
error: use of undeclared identifier '__above'
# | 287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c:46:3:
error: call to undeclared function '__gpu_prefix_scan_sum_u32'; ISO C99 and
later do not support implicit function declarations
[-Wimplicit-function-declaration]
# | 46 | __gpu_prefix_scan_sum_u32(~0, 1);
# | | ^
# | 37 errors 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\Headers\gpuintrin.c'
--check-prefix=AMDGPU
# .---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\Headers\gpuintrin.c
--check-prefix=AMDGPU
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.Headers/gpuintrin_lang.c</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
-internal-isystem
C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include
-internal-isystem
C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers
-internal-isystem
C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/
-fcuda-is-device -triple nvptx64 -emit-llvm
C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin_lang.c -o - |
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe
C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin_lang.c
--check-prefix=CUDA
# 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
-internal-isystem
'C:\_work\llvm-project\llvm-project\clang\test\Headers/Inputs/include'
-internal-isystem
'C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/cuda_wrappers'
-internal-isystem
'C:\_work\llvm-project\llvm-project\clang\test\Headers/../../lib/Headers/'
-fcuda-is-device -triple nvptx64 -emit-llvm
'C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin_lang.c' -o -
# .---command stderr------------
# | In file included from
C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin_lang.c:36:
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:249:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, add, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:249:1:
error: use of undeclared identifier '__above'
# | 249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, add, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, add, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1:
error: use of undeclared identifier '__above'
# | 250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, add, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 251 | __DO_LANE_OPS(float, __GPU_OP, 0, add, f32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1:
error: use of undeclared identifier '__above'
# | 251 | __DO_LANE_OPS(float, __GPU_OP, 0, add, f32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 252 | __DO_LANE_OPS(double, __GPU_OP, 0, add, f64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1:
error: use of undeclared identifier '__above'
# | 252 | __DO_LANE_OPS(double, __GPU_OP, 0, add, f64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 256 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, and, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1:
error: use of undeclared identifier '__above'
# | 256 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, and, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 257 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, and, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1:
error: use of undeclared identifier '__above'
# | 257 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, and, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1:
error: use of undeclared identifier '__above'
# | 261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1:
error: use of undeclared identifier '__above'
# | 262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1:
error: use of undeclared identifier '__above'
# | 266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1:
error: use of undeclared identifier '__above'
# | 267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 271 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, min, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1:
error: use of undeclared identifier '__above'
# | 271 | __DO_LANE_OPS(uint32_t, __GPU_OP, UINT32_MAX, min, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 272 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, min, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1:
error: use of undeclared identifier '__above'
# | 272 | __DO_LANE_OPS(uint64_t, __GPU_OP, UINT64_MAX, min, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1:
error: use of undeclared identifier '__above'
# | 276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1:
error: use of undeclared identifier '__above'
# | 277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1:
error: use of undeclared identifier '__above'
# | 281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1:
error: use of undeclared identifier '__above'
# | 282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1:
error: use of undeclared identifier '__above'
# | 286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1:
error: 2nd argument must be a scalar 'int' type (was '__size_t' (aka 'unsigned
long'))
# | 287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:216:48:
note: expanded from macro '__DO_LANE_OPS'
# | 216 | uint32_t __src = __builtin_ctzg(__above, sizeof(__above) *
8); \
# | | ^
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1:
error: use of undeclared identifier '__above'
# | 287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:231:60:
note: expanded from macro '__DO_LANE_OPS'
# | 231 | uint32_t __src = 63 - __builtin_clzg(__below, sizeof(__above)
* 8); \
# | | ^~~~~~~
# | 36 errors 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\Headers\gpuintrin_lang.c'
--check-prefix=CUDA
# .---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\Headers\gpuintrin_lang.c
--check-prefix=CUDA
# `-----------------------------
# 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/189381
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits