[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: Windows-->
# :window: Windows x64 Test Results
* 55808 tests passed
* 1425 tests skipped
* 2 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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl -O0 -ffake-address-space-map -emit-llvm -o - -Wno-deprecated-attributes | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl --check-prefixes=CHECK,SPIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl --check-prefixes=CHECK,SPIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl --check-prefixes=CHECK,SPIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl --check-prefixes=CL20,CL20SPIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl -O0 -triple amdgpu-amd-mesa3d -emit-llvm -o - -Wno-deprecated-attributes | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,AMDGCN C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,AMDGCN 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=CHECK,AMDGCN C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=CHECK,AMDGCN 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl'
# note: command had no output on stdout or stderr
# RUN: at line 7
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl --check-prefixes=CL20,CL20AMDGCN
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 'C:\_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 = 'C:\_work\llvm-project\llvm-project\clang\test\CodeGenOpenCL\address-spaces.cl'
# | source_filename = "C:\\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -O0 -target x86_64-unknown-linux-gnu C:\_work\llvm-project\llvm-project\clang\test\OffloadTools\clang-offload-bundler\standardize.c -c -o C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.o
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -O0 -target x86_64-unknown-linux-gnu 'C:\_work\llvm-project\llvm-project\clang\test\OffloadTools\clang-offload-bundler\standardize.c' -c -o 'C:\_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' > C:\_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' > C:\_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' > C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.o -input=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.tgt1 -input=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.tgt2 -input=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.tgt3 -output=C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.o' '-input=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.tgt1' '-input=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.tgt2' '-input=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.tgt3' '-output=C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.bundle -output=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx906.bc -output=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx908.bc -output=C:\_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 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_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=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp.bundle' '-output=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx906.bc' '-output=C:\_work\llvm-project\llvm-project\build\tools\clang\test\OffloadTools\clang-offload-bundler\Output\standardize.c.tmp-hip-amdgcn-amd-amdhsa--gfx908.bc' '-output=C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\OffloadTools\clang-offload-bundler\standardize.c' -check-prefix=BUNDLE
# .---command stderr------------
# | C:\_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: C:\_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>
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