[clang] [Clang] Fix constant bit widths in gpuintrin.h (PR #189387)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 07:33:26 PDT 2026


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: 1

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 -
# note: command had no output on stdout or stderr
# 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------------
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c:550:17: error: AMDGPU-NEXT: is not on the line after the previous match
# | // AMDGPU-NEXT: [[CALL:%.*]] = call i32 @__gpu_lane_id() #[[ATTR8]]
# |                 ^
# | <stdin>:530:2: note: 'next' match was here
# |  %call1 = call i32 @__gpu_lane_id() #9
# |  ^
# | <stdin>:528:54: note: previous match ended here
# |  %0 = load i64, ptr %__lane_mask.addr.ascast, align 8
# |                                                      ^
# | <stdin>:529:1: note: non-matching line after previous match is here
# |  %call = call i32 @UINT64_C(i32 noundef 1) #9
# | ^
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c:1725:14: error: undefined variable: LOOP5
# | // AMDGPU: [[LOOP5]] = distinct !{[[LOOP5]], [[META6:![0-9]+]]}
# |              ^
# | C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c:1725:37: error: undefined variable: LOOP5
# | // AMDGPU: [[LOOP5]] = distinct !{[[LOOP5]], [[META6:![0-9]+]]}
# |                                     ^
# | <stdin>:719:2: note: possible intended match here
# | !5 = distinct !{!5, !6}
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |             525:  %__i.ascast = addrspacecast ptr addrspace(5) %__i to ptr 
# |             526:  store i64 %__lane_mask, ptr %__lane_mask.addr.ascast, align 8 
# |             527:  store i32 %__x, ptr %__x.addr.ascast, align 4 
# |             528:  %0 = load i64, ptr %__lane_mask.addr.ascast, align 8 
# |             529:  %call = call i32 @UINT64_C(i32 noundef 1) #9 
# |             530:  %call1 = call i32 @__gpu_lane_id() #9 
# | next:550          !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |             531:  %shl = shl i32 %call, %call1 
# |             532:  %sub = sub nsw i32 %shl, 1 
# |             533:  %conv = sext i32 %sub to i64 
# |             534:  %and = and i64 %0, %conv 
# |             535:  store i64 %and, ptr %__below.ascast, align 8 
# |               .
# |               .
# |               .
# |             713:  
# |             714: !0 = !{i32 1, !"amdhsa_code_object_version", i32 600} 
# |             715: !1 = !{!"clang version 23.0.0git (https://github.com/llvm/llvm-project 21ec93f71604963ca956c7afb4c5fee6790e78aa)"} 
# |             716: !2 = !{i32 1, i32 0} 
# |             717: !3 = !{} 
# |             718: !4 = !{i16 1, i16 1025} 
# | check:1725'0                            X error: match failed for invalid pattern
# | check:1725'1                              undefined variable: LOOP5
# | check:1725'2                              undefined variable: LOOP5
# |             719: !5 = distinct !{!5, !6} 
# | check:1725'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# | check:1725'3      ?                       possible intended match
# |             720: !6 = !{!"llvm.loop.mustprogress"} 
# | check:1725'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             721: !7 = distinct !{!7, !6} 
# | check:1725'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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 -
# note: command had no output on stdout or stderr
# 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
# note: command had no output on stdout or stderr
# RUN: at line 8
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 amdgcn -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=HIP
# 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 amdgcn -emit-llvm 'C:\_work\llvm-project\llvm-project\clang\test\Headers\gpuintrin_lang.c' -o -
# note: command had no output on stdout or stderr
# 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=HIP
# note: command had no output on stdout or stderr
# RUN: at line 14
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/    -cl-std=CL3.0 -triple amdgcn -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=OPENCL
# 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/' -cl-std=CL3.0 -triple amdgcn -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: use of undeclared identifier 'UINT64_C'
# |   249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, sum, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:249:1: error: use of undeclared identifier 'UINT64_C'
# |   249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, sum, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:249:1: error: use of undeclared identifier 'UINT64_C'
# |   249 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, sum, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1: error: use of undeclared identifier 'UINT64_C'
# |   250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, sum, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1: error: use of undeclared identifier 'UINT64_C'
# |   250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, sum, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:250:1: error: use of undeclared identifier 'UINT64_C'
# |   250 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, sum, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1: error: use of undeclared identifier 'UINT64_C'
# |   251 | __DO_LANE_OPS(float, __GPU_OP, 0, sum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1: error: use of undeclared identifier 'UINT64_C'
# |   251 | __DO_LANE_OPS(float, __GPU_OP, 0, sum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:251:1: error: use of undeclared identifier 'UINT64_C'
# |   251 | __DO_LANE_OPS(float, __GPU_OP, 0, sum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1: error: use of undeclared identifier 'UINT64_C'
# |   252 | __DO_LANE_OPS(double, __GPU_OP, 0, sum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1: error: use of undeclared identifier 'UINT64_C'
# |   252 | __DO_LANE_OPS(double, __GPU_OP, 0, sum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:252:1: error: use of undeclared identifier 'UINT64_C'
# |   252 | __DO_LANE_OPS(double, __GPU_OP, 0, sum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1: error: use of undeclared identifier 'UINT64_C'
# |   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:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1: error: use of undeclared identifier 'UINT64_C'
# |   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:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:256:1: error: use of undeclared identifier 'UINT64_C'
# |   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:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1: error: use of undeclared identifier 'UINT64_C'
# |   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:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1: error: use of undeclared identifier 'UINT64_C'
# |   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:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:257:1: error: use of undeclared identifier 'UINT64_C'
# |   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:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1: error: use of undeclared identifier 'UINT64_C'
# |   261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1: error: use of undeclared identifier 'UINT64_C'
# |   261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:261:1: error: use of undeclared identifier 'UINT64_C'
# |   261 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, or, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1: error: use of undeclared identifier 'UINT64_C'
# |   262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1: error: use of undeclared identifier 'UINT64_C'
# |   262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:262:1: error: use of undeclared identifier 'UINT64_C'
# |   262 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, or, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1: error: use of undeclared identifier 'UINT64_C'
# |   266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1: error: use of undeclared identifier 'UINT64_C'
# |   266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:266:1: error: use of undeclared identifier 'UINT64_C'
# |   266 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, xor, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1: error: use of undeclared identifier 'UINT64_C'
# |   267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1: error: use of undeclared identifier 'UINT64_C'
# |   267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:267:1: error: use of undeclared identifier 'UINT64_C'
# |   267 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, xor, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1: error: use of undeclared identifier 'UINT64_C'
# |   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:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1: error: use of undeclared identifier 'UINT64_C'
# |   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:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:271:1: error: use of undeclared identifier 'UINT64_C'
# |   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:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1: error: use of undeclared identifier 'UINT64_C'
# |   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:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1: error: use of undeclared identifier 'UINT64_C'
# |   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:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:272:1: error: use of undeclared identifier 'UINT64_C'
# |   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:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1: error: use of undeclared identifier 'UINT64_C'
# |   276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1: error: use of undeclared identifier 'UINT64_C'
# |   276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:276:1: error: use of undeclared identifier 'UINT64_C'
# |   276 | __DO_LANE_OPS(uint32_t, __GPU_OP, 0, max, u32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1: error: use of undeclared identifier 'UINT64_C'
# |   277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1: error: use of undeclared identifier 'UINT64_C'
# |   277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:277:1: error: use of undeclared identifier 'UINT64_C'
# |   277 | __DO_LANE_OPS(uint64_t, __GPU_OP, 0, max, u64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1: error: use of undeclared identifier 'UINT64_C'
# |   281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1: error: use of undeclared identifier 'UINT64_C'
# |   281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:281:1: error: use of undeclared identifier 'UINT64_C'
# |   281 | __DO_LANE_OPS(float, __GPU_OP, __builtin_inff(), minnum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1: error: use of undeclared identifier 'UINT64_C'
# |   282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1: error: use of undeclared identifier 'UINT64_C'
# |   282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:282:1: error: use of undeclared identifier 'UINT64_C'
# |   282 | __DO_LANE_OPS(double, __GPU_OP, __builtin_inf(), minnum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1: error: use of undeclared identifier 'UINT64_C'
# |   286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1: error: use of undeclared identifier 'UINT64_C'
# |   286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:286:1: error: use of undeclared identifier 'UINT64_C'
# |   286 | __DO_LANE_OPS(float, __GPU_OP, -__builtin_inff(), maxnum, f32);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1: error: use of undeclared identifier 'UINT64_C'
# |   287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:212:40: note: expanded from macro '__DO_LANE_OPS'
# |   212 |     uint64_t __above = __lane_mask & -(UINT64_C(2) << __gpu_lane_id());        \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1: error: use of undeclared identifier 'UINT64_C'
# |   287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:227:40: note: expanded from macro '__DO_LANE_OPS'
# |   227 |     uint64_t __below = __lane_mask & ((UINT64_C(1) << __gpu_lane_id()) - 1);   \
# |       |                                        ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:287:1: error: use of undeclared identifier 'UINT64_C'
# |   287 | __DO_LANE_OPS(double, __GPU_OP, -__builtin_inf(), maxnum, f64);
# |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:236:14: note: expanded from macro '__DO_LANE_OPS'
# |   236 |             (UINT64_C(1) << (63 - __builtin_clzg(__below, 0))) & __below;      \
# |       |              ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:340:50: error: use of undeclared identifier 'UINT64_C'
# |   340 |   return __ballot == __lane_mask ? __lane_mask : UINT64_C(0);
# |       |                                                  ^~~~~~~~
# | C:\_work\llvm-project\llvm-project\build\lib\clang\23\include\gpuintrin.h:349:50: error: use of undeclared identifier 'UINT64_C'
# |   349 |   return __ballot == __lane_mask ? __lane_mask : UINT64_C(0);
# |       |                                                  ^~~~~~~~
# | 56 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=OPENCL
# .---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=OPENCL
# `-----------------------------
# 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/189387


More information about the cfe-commits mailing list