llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building 
`clang` at step 7 "Add check check-clang".

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

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

```
Step 7 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: Headers/__clang_hip_math.hip' FAILED 
********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 5: 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
    -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown    -target-cpu 
gfx906 -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -o -    -D__HIPCC_RTC__ | 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=CHECK,DEFAULT 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu 
gfx906 -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -o - -D__HIPCC_RTC__
+ 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=CHECK,DEFAULT 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
RUN: at line 13: 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
    -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown    -target-cpu 
gfx906 -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -menable-no-infs    -menable-no-nans -o -    
-D__HIPCC_RTC__ | 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=CHECK,FINITEONLY 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu 
gfx906 -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -menable-no-infs -menable-no-nans -o - -D__HIPCC_RTC__
+ 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=CHECK,FINITEONLY 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
RUN: at line 22: 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
    -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown    -target-cpu 
gfx906 -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -fgpu-approx-transcendentals -o -    -D__HIPCC_RTC__ | 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=CHECK,APPROX 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-unknown -target-cpu 
gfx906 -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -fgpu-approx-transcendentals -o - -D__HIPCC_RTC__
+ 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=CHECK,APPROX 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
RUN: at line 30: 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
    -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
    -triple spirv64-amd-amdhsa -aux-triple x86_64-unknown-unknown    -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -o -    -D__HIPCC_RTC__ | 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=AMDGCNSPIRV 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang 
-cc1 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include
 -nostdsysteminc -include __clang_hip_runtime_wrapper.h -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/../../lib/Headers/cuda_wrappers
 -internal-isystem 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/Inputs/include
 -triple spirv64-amd-amdhsa -aux-triple x86_64-unknown-unknown -emit-llvm 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
 -fcuda-is-device -O1 -o - -D__HIPCC_RTC__
+ 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck 
-check-prefixes=AMDGCNSPIRV 
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip:76:22:
 error: AMDGCNSPIRV-NEXT: expected string not found in input
// AMDGCNSPIRV-NEXT: br i1 [[CMP_NOT_I]], label 
[[_ZL21__MAKE_MANTISSA_BASE8PKC_EXIT:%.*]], label [[WHILE_BODY_I]]
                     ^
<stdin>:35:31: note: scanning from here
 %cmp.not.i = icmp eq i8 %0, 0
                              ^
<stdin>:35:31: note: with "CMP_NOT_I" equal to "%cmp\\.not\\.i"
 %cmp.not.i = icmp eq i8 %0, 0
                              ^
<stdin>:35:31: note: with "WHILE_BODY_I" equal to "%cleanup\\.i"
 %cmp.not.i = icmp eq i8 %0, 0
                              ^
<stdin>:41:17: note: possible intended match here
 br i1 %or.cond.i, label %if.then.i, label %cleanup.i
                ^
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip:132:22:
 error: AMDGCNSPIRV-NEXT: expected string not found in input
// AMDGCNSPIRV-NEXT: br i1 [[CMP_NOT_I]], label 
[[_ZL22__MAKE_MANTISSA_BASE10PKC_EXIT:%.*]], label [[WHILE_BODY_I]]
                     ^
<stdin>:70:31: note: scanning from here
 %cmp.not.i = icmp eq i8 %0, 0
                              ^
<stdin>:70:31: note: with "CMP_NOT_I" equal to "%cmp\\.not\\.i"
 %cmp.not.i = icmp eq i8 %0, 0
                              ^
<stdin>:70:31: note: with "WHILE_BODY_I" equal to "%cleanup\\.i"
 %cmp.not.i = icmp eq i8 %0, 0
                              ^
<stdin>:76:17: note: possible intended match here
 br i1 %or.cond.i, label %if.then.i, label %cleanup.i
                ^
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/Headers/__clang_hip_math.hip:335:17:
 error: AMDGCNSPIRV: expected string not found in input
// AMDGCNSPIRV: while.cond.i28.i.preheader:
                ^
...

```

</details>

https://github.com/llvm/llvm-project/pull/128360
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to