[llvm-branch-commits] [clang] clang/AMDGPU: Migrate clang-linker-wrapper tests to amdgpu triples (15) (PR #212054)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jul 25 12:27:29 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 90523 tests passed
* 1713 tests skipped
* 3 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGenOpenCL/address-spaces.cl</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CHECK,SPIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CHECK,SPIR
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -cl-std=CL3.0 -cl-ext=-all -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CHECK,SPIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -cl-std=CL3.0 -cl-ext=-all -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CHECK,SPIR
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -cl-std=clc++2021 -cl-ext=-all -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CHECK,SPIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -cl-std=clc++2021 -cl-ext=-all -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CHECK,SPIR
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -DCL20 -cl-std=CL2.0 -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CL20,CL20SPIR
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -DCL20 -cl-std=CL2.0 -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CL20,CL20SPIR
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -triple amdgpu-amd-mesa3d -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,AMDGCN /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -triple amdgpu-amd-mesa3d -emit-llvm -o - -Wno-deprecated-attributes
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,AMDGCN /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -triple amdgpu-amd-mesa3d -cl-std=CL3.0 -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,AMDGCN /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -triple amdgpu-amd-mesa3d -cl-std=CL3.0 -emit-llvm -o - -Wno-deprecated-attributes
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,AMDGCN /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -triple amdgpu-amd-amdhsa -DCL20 -cl-std=CL2.0 -emit-llvm -o - -Wno-deprecated-attributes | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CL20,CL20AMDGCN
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl -O0 -triple amdgpu-amd-amdhsa -DCL20 -cl-std=CL2.0 -emit-llvm -o - -Wno-deprecated-attributes
# .---command stdout------------
# | ; ModuleID = '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl'
# | source_filename = "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl"
# | target datalayout = "e-m:e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128:128:48-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9"
# | target triple = "amdgpu-amd-amdhsa"
# | 
# | %struct.S = type { i32, i32, ptr }
# | 
# | @f.ii = internal addrspace(1) global i32 0, align 4
# | @g_s = addrspace(1) global %struct.S zeroinitializer, align 8
# | @i = addrspace(1) global i32 0, align 4
# | @ptr = addrspace(1) global ptr null, align 8
# | @g_extern_var = external addrspace(1) global float, align 4
# | @l_extern_var = external addrspace(1) global float, align 4
# | @test_static.l_static_var = internal addrspace(1) global float 0.000000e+00, align 4
# | @g_static_var = internal addrspace(1) global float 0.000000e+00, align 4
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @f__p(ptr addrspace(5) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(5), align 4, addrspace(5)
# |   store ptr addrspace(5) %arg, ptr addrspace(5) %arg.addr, align 4
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @f__g(ptr addrspace(1) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @f__l(ptr addrspace(3) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(3), align 4, addrspace(5)
# |   store ptr addrspace(3) %arg, ptr addrspace(5) %arg.addr, align 4
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @f__c(ptr addrspace(4) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(4), align 8, addrspace(5)
# |   store ptr addrspace(4) %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @fp(ptr addrspace(5) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(5), align 4, addrspace(5)
# |   store ptr addrspace(5) %arg, ptr addrspace(5) %arg.addr, align 4
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @fg(ptr addrspace(1) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @fl(ptr addrspace(3) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(3), align 4, addrspace(5)
# |   store ptr addrspace(3) %arg, ptr addrspace(5) %arg.addr, align 4
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @fc(ptr addrspace(4) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(4), align 8, addrspace(5)
# |   store ptr addrspace(4) %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @fd(ptr addrspace(1) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @fh(ptr addrspace(1) noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @f(ptr noundef %arg) #0 {
# | entry:
# |   %arg.addr = alloca ptr, align 8, addrspace(5)
# |   %i = alloca i32, align 4, addrspace(5)
# |   store ptr %arg, ptr addrspace(5) %arg.addr, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @test_typedef(ptr addrspace(1) noundef %x, ptr addrspace(4) noundef %y, ptr noundef %z) #0 {
# | entry:
# |   %x.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   %y.addr = alloca ptr addrspace(4), align 8, addrspace(5)
# |   %z.addr = alloca ptr, align 8, addrspace(5)
# |   store ptr addrspace(1) %x, ptr addrspace(5) %x.addr, align 8
# |   store ptr addrspace(4) %y, ptr addrspace(5) %y.addr, align 8
# |   store ptr %z, ptr addrspace(5) %z.addr, align 8
# |   %0 = load ptr addrspace(4), ptr addrspace(5) %y.addr, align 8
# |   %1 = load i32, ptr addrspace(4) %0, align 4
# |   %2 = load ptr addrspace(1), ptr addrspace(5) %x.addr, align 8
# |   store i32 %1, ptr addrspace(1) %2, align 4
# |   %3 = load ptr, ptr addrspace(5) %z.addr, align 8
# |   store i32 0, ptr %3, align 4
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @test_struct() #0 {
# | entry:
# |   %ps = alloca ptr, align 8, addrspace(5)
# |   %0 = load ptr, ptr addrspace(5) %ps, align 8
# |   %x = getelementptr inbounds nuw %struct.S, ptr %0, i32 0, i32 0
# |   store i32 0, ptr %x, align 8
# |   store i32 0, ptr addrspace(1) @g_s, align 8
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @test_void_par() #0 {
# | entry:
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local i32 @test_func_return_type() #0 {
# | entry:
# |   ret i32 0
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local amdgpu_kernel void @test_extern(ptr addrspace(1) noundef align 4 %buf) #1 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 {
# | entry:
# |   %buf.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %buf, ptr addrspace(5) %buf.addr, align 8
# |   %0 = load ptr addrspace(1), ptr addrspace(5) %buf.addr, align 8
# |   call void @__clang_ocl_kern_imp_test_extern(ptr addrspace(1) noundef align 4 %0) #2
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @__clang_ocl_kern_imp_test_extern(ptr addrspace(1) noundef align 4 %buf) #1 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 {
# | entry:
# |   %buf.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %buf, ptr addrspace(5) %buf.addr, align 8
# |   %0 = load float, ptr addrspace(1) @g_extern_var, align 4
# |   %1 = load float, ptr addrspace(1) @l_extern_var, align 4
# |   %add = fadd float %0, %1
# |   %2 = load ptr addrspace(1), ptr addrspace(5) %buf.addr, align 8
# |   %arrayidx = getelementptr inbounds float, ptr addrspace(1) %2, i64 0
# |   %3 = load float, ptr addrspace(1) %arrayidx, align 4
# |   %add1 = fadd float %3, %add
# |   store float %add1, ptr addrspace(1) %arrayidx, align 4
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local amdgpu_kernel void @test_static(ptr addrspace(1) noundef align 4 %buf) #1 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 {
# | entry:
# |   %buf.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %buf, ptr addrspace(5) %buf.addr, align 8
# |   %0 = load ptr addrspace(1), ptr addrspace(5) %buf.addr, align 8
# |   call void @__clang_ocl_kern_imp_test_static(ptr addrspace(1) noundef align 4 %0) #2
# |   ret void
# | }
# | 
# | ; Function Attrs: convergent noinline norecurse nounwind optnone
# | define dso_local void @__clang_ocl_kern_imp_test_static(ptr addrspace(1) noundef align 4 %buf) #1 !kernel_arg_addr_space !3 !kernel_arg_access_qual !4 !kernel_arg_type !5 !kernel_arg_base_type !5 !kernel_arg_type_qual !6 {
# | entry:
# |   %buf.addr = alloca ptr addrspace(1), align 8, addrspace(5)
# |   store ptr addrspace(1) %buf, ptr addrspace(5) %buf.addr, align 8
# |   %0 = load float, ptr addrspace(1) @g_static_var, align 4
# |   %1 = load float, ptr addrspace(1) @test_static.l_static_var, align 4
# |   %add = fadd float %0, %1
# |   %2 = load ptr addrspace(1), ptr addrspace(5) %buf.addr, align 8
# |   %arrayidx = getelementptr inbounds float, ptr addrspace(1) %2, i64 0
# |   %3 = load float, ptr addrspace(1) %arrayidx, align 4
# |   %add1 = fadd float %3, %add
# |   store float %add1, ptr addrspace(1) %arrayidx, align 4
# |   ret void
# | }
# | 
# | attributes #0 = { convergent noinline norecurse nounwind optnone "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | attributes #1 = { convergent noinline norecurse nounwind optnone "amdgpu-flat-work-group-size"="1,256" "no-trapping-math"="true" "stack-protector-buffer-size"="8" }
# | attributes #2 = { convergent nounwind }
# | 
# | !llvm.module.flags = !{!0}
# | !opencl.ocl.version = !{!1}
# | !llvm.ident = !{!2}
# | 
# | !0 = !{i32 1, !"amdhsa_code_object_version", i32 600}
# | !1 = !{i32 2, i32 0}
# | !2 = !{!"clang version 24.0.0git (https://github.com/llvm/llvm-project 10f845fbe98213fd9f950e11913c6e9ce5fbc030)"}
# | !3 = !{i32 1}
# | !4 = !{!"none"}
# | !5 = !{!"float*"}
# | !6 = !{!""}
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenOpenCL/address-spaces.cl --check-prefixes=CL20,CL20AMDGCN
# .---command stderr------------
# | error: no check strings found with prefix 'CL20AMDGCN:'
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.OffloadTools/clang-offload-bundler/standardize.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/standardize.c -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/standardize.c -c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 10
echo 'Content of device file 1' > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt1
# executed command: echo 'Content of device file 1'
# note: command had no output on stdout or stderr
# RUN: at line 11
echo 'Content of device file 2' > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt2
# executed command: echo 'Content of device file 2'
# note: command had no output on stdout or stderr
# RUN: at line 12
echo 'Content of device file 3' > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt3
# executed command: echo 'Content of device file 3'
# note: command had no output on stdout or stderr
# RUN: at line 17
clang-offload-bundler -type=o -targets=host-x86_64-unknown-linux-gnu,hip-amdgpu-amd-amdhsa--gfx906,hip-amdgcn-amd-amdhsa--gfx908,hip-spirv64-amd-amdhsa--amdgcnspirv -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.o -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt1 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt2 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt3 -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.bundle
# executed command: clang-offload-bundler -type=o -targets=host-x86_64-unknown-linux-gnu,hip-amdgpu-amd-amdhsa--gfx906,hip-amdgcn-amd-amdhsa--gfx908,hip-spirv64-amd-amdhsa--amdgcnspirv -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.o -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt1 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt2 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.tgt3 -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.bundle
# note: command had no output on stdout or stderr
# RUN: at line 19
clang-offload-bundler -unbundle -type=o -targets=hip-amdgpu-amd-amdhsa--gfx906,hip-amdgcn-amd-amdhsa--gfx908,hip-spirv64-amd-amdhsa--amdgcnspirv -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.bundle -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx906.bc -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx908.bc -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp-hip-spirv64-amd-amdhsa--amdgcnspirv.bc -debug-only=CodeObjectCompatibility 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/standardize.c -check-prefix=BUNDLE
# executed command: clang-offload-bundler -unbundle -type=o -targets=hip-amdgpu-amd-amdhsa--gfx906,hip-amdgcn-amd-amdhsa--gfx908,hip-spirv64-amd-amdhsa--amdgcnspirv -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp.bundle -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx906.bc -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx908.bc -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/standardize.c.tmp-hip-spirv64-amd-amdhsa--amdgcnspirv.bc -debug-only=CodeObjectCompatibility
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/standardize.c -check-prefix=BUNDLE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/standardize.c:20:12: error: BUNDLE: expected string not found in input
# | // BUNDLE: Compatible: Exact match: [CodeObject: hip-amdgpu-amd-amdhsa--gfx906] : [Target: hip-amdgcn-amd-amdhsa--gfx906]
# |            ^
# | <stdin>:1:1: note: scanning from here
# | Incompatible: Kind/Triple mismatch [CodeObject: host-x86_64-unknown-linux-gnu-] : [Target: hip-amdgpu-amd-amdhsa--gfx906]
# | ^
# | <stdin>:4:1: note: possible intended match here
# | Compatible: Exact match: [CodeObject: hip-amdgpu-amd-amdhsa--gfx906] : [Target: hip-amdgpu-amd-amdhsa--gfx906]
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/standardize.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: Incompatible: Kind/Triple mismatch [CodeObject: host-x86_64-unknown-linux-gnu-] : [Target: hip-amdgpu-amd-amdhsa--gfx906] 
# | check:20'0    {                                                                                                                            search range start (exclusive)
# | check:20'1                                                                                                                                 error: no match found in search range
# |             2: Incompatible: Kind/Triple mismatch [CodeObject: host-x86_64-unknown-linux-gnu-] : [Target: hip-amdgcn-amd-amdhsa--gfx908] 
# |             3: Incompatible: Kind/Triple mismatch [CodeObject: host-x86_64-unknown-linux-gnu-] : [Target: hip-spirv64-amd-amdhsa--amdgcnspirv] 
# |             4: Compatible: Exact match: [CodeObject: hip-amdgpu-amd-amdhsa--gfx906] : [Target: hip-amdgpu-amd-amdhsa--gfx906] 
# | check:20'2     ?                                                                                                                possible intended match
# |             5: Compatible: Exact match: [CodeObject: hip-amdgcn-amd-amdhsa--gfx908] : [Target: hip-amdgcn-amd-amdhsa--gfx908] 
# |             6: Compatible: Exact match: [CodeObject: hip-spirv64-amd-amdhsa--amdgcnspirv] : [Target: hip-spirv64-amd-amdhsa--amdgcnspirv] 
# | check:20'3                                                                                                                                } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.OffloadTools/clang-offload-bundler/zlib.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c -c -emit-llvm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.bc
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c -c -emit-llvm -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.bc
# note: command had no output on stdout or stderr
# RUN: at line 12
touch /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.empty
# executed command: touch /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.empty
# note: command had no output on stdout or stderr
# RUN: at line 17
echo 'Content of device file 1' > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.tgt1
# executed command: echo 'Content of device file 1'
# note: command had no output on stdout or stderr
# RUN: at line 18
echo 'Content of device file 2' > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.tgt2
# executed command: echo 'Content of device file 2'
# note: command had no output on stdout or stderr
# RUN: at line 23
env OFFLOAD_BUNDLER_COMPRESS=1 OFFLOAD_BUNDLER_VERBOSE=1    clang-offload-bundler -type=bc -targets=hip-amdgpu-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906    -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.tgt1 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.tgt2 -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.hip.bundle.bc 2>&1 |    /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=COMPRESS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c
# executed command: env OFFLOAD_BUNDLER_COMPRESS=1 OFFLOAD_BUNDLER_VERBOSE=1 clang-offload-bundler -type=bc -targets=hip-amdgpu-amd-amdhsa--gfx900,hip-amdgcn-amd-amdhsa--gfx906 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.tgt1 -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.tgt2 -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.hip.bundle.bc
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=COMPRESS /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c
# note: command had no output on stdout or stderr
# RUN: at line 27
clang-offload-bundler -type=bc -list -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.hip.bundle.bc | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=NOHOST /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c
# executed command: clang-offload-bundler -type=bc -list -input=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/OffloadTools/clang-offload-bundler/Output/zlib.c.tmp.hip.bundle.bc
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=NOHOST /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c:42:16: error: NOHOST-DAG: expected string not found in input
# | // NOHOST-DAG: hip-amdgpu-amd-amdhsa--gfx906
# |                ^
# | <stdin>:1:1: note: scanning from here
# | hip-amdgcn-amd-amdhsa--gfx906
# | ^
# | <stdin>:2:1: note: possible intended match here
# | hip-amdgpu-amd-amdhsa--gfx900
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/OffloadTools/clang-offload-bundler/zlib.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1: hip-amdgcn-amd-amdhsa--gfx906 
# | dag:42'0    {                                search range start (exclusive)
# | dag:42'1                                     error: no match found in search range
# |           2: hip-amdgpu-amd-amdhsa--gfx900 
# | dag:42'2     ?                               possible intended match
# | dag:42'3                                   } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/212054


More information about the llvm-branch-commits mailing list