[llvm-branch-commits] [clang] [llvm] AMDGPU: Use module flags to control xnack and sramecc (PR #204595)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jun 18 07:16:00 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 177612 tests passed
* 2691 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CIR/CodeGenHIP/target-features.hip</summary>
```
Exit Code: 1
Command Output (stdout):
--
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 9
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 13
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 20
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# note: command had no output on stdout or stderr
# RUN: at line 25
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 28
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip:66:20: error: LLVM-DELTA-DAG: expected string not found in input
# | // LLVM-DELTA-DAG: !{i32 1, !"amdgpu.xnack", i32 1}
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll:15:42: note: scanning from here
# | define dso_local void @_Z9device_fnv() #1 {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll:24:6: note: possible intended match here
# | !0 = !{i32 1, !"amdgpu_printf_kind", !"hostcall"}
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 10: define dso_local amdgpu_kernel void @_Z6kernelv() #0 {
# | 11: ret void
# | 12: }
# | 13:
# | 14: ; Function Attrs: convergent noinline
# | 15: define dso_local void @_Z9device_fnv() #1 {
# | dag:66'0 X~~ error: no match found
# | 16: ret void
# | dag:66'0 ~~~~~~~~~~
# | 17: }
# | dag:66'0 ~~
# | 18:
# | dag:66'0 ~
# | 19: attributes #0 = { convergent noinline "amdgpu-flat-work-group-size"="1,1024" "target-cpu"="gfx900" }
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 20: attributes #1 = { convergent noinline "target-cpu"="gfx900" }
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21:
# | dag:66'0 ~
# | 22: !llvm.module.flags = !{!0, !1, !2}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23:
# | dag:66'0 ~
# | 24: !0 = !{i32 1, !"amdgpu_printf_kind", !"hostcall"}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:66'1 ? possible intended match
# | 25: !1 = !{i32 1, !"amdhsa_code_object_version", i32 600}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: !2 = !{i32 2, !"Debug Info Version", i32 3}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CIR/CodeGenHIP/target-features.hip</summary>
```
Exit Code: 1
Command Output (stdout):
--
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir
# note: command had no output on stdout or stderr
# RUN: at line 9
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 13
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fcuda-is-device -target-cpu gfx900 -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 20
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-cir /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CIR-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir
# note: command had no output on stdout or stderr
# RUN: at line 25
/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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# 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/23/include -nostdsysteminc -triple=amdgcn-amd-amdhsa -x hip -fclangir -fcuda-is-device -target-cpu gfx900 -mxnack -emit-llvm /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# note: command had no output on stdout or stderr
# RUN: at line 28
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LLVM-DELTA /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip:66:20: error: LLVM-DELTA-DAG: expected string not found in input
# | // LLVM-DELTA-DAG: !{i32 1, !"amdgpu.xnack", i32 1}
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll:15:42: note: scanning from here
# | define dso_local void @_Z9device_fnv() #1 {
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll:24:6: note: possible intended match here
# | !0 = !{i32 1, !"amdgpu_printf_kind", !"hostcall"}
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/CIR/CodeGenHIP/Output/target-features.hip.tmp-delta.cir.ll
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/CodeGenHIP/target-features.hip
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 10: define dso_local amdgpu_kernel void @_Z6kernelv() #0 {
# | 11: ret void
# | 12: }
# | 13:
# | 14: ; Function Attrs: convergent noinline
# | 15: define dso_local void @_Z9device_fnv() #1 {
# | dag:66'0 X~~ error: no match found
# | 16: ret void
# | dag:66'0 ~~~~~~~~~~
# | 17: }
# | dag:66'0 ~~
# | 18:
# | dag:66'0 ~
# | 19: attributes #0 = { convergent noinline "amdgpu-flat-work-group-size"="1,1024" "target-cpu"="gfx900" }
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 20: attributes #1 = { convergent noinline "target-cpu"="gfx900" }
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 21:
# | dag:66'0 ~
# | 22: !llvm.module.flags = !{!0, !1, !2}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 23:
# | dag:66'0 ~
# | 24: !0 = !{i32 1, !"amdgpu_printf_kind", !"hostcall"}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:66'1 ? possible intended match
# | 25: !1 = !{i32 1, !"amdhsa_code_object_version", i32 600}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 26: !2 = !{i32 2, !"Debug Info Version", i32 3}
# | dag:66'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang.CodeGenCXX/dynamic-cast-address-space.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# 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/23/include -nostdsysteminc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp -triple amdgcn-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
# 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/23/include -nostdsysteminc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp -triple amdgcn-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp:96:5: warning: expression result unused [-Wunused-value]
# | 96 | dynamic_cast<const B&>(*a);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 warning generated.
# `-----------------------------
# 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/CodeGenCXX/dynamic-cast-address-space.cpp
# 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/23/include -nostdsysteminc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp -triple spirv64-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp --check-prefix=WITH-NONZERO-DEFAULT-AS
# 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/23/include -nostdsysteminc -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp -triple spirv64-amd-amdhsa -emit-llvm -fcxx-exceptions -fexceptions -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp:96:5: warning: expression result unused [-Wunused-value]
# | 96 | dynamic_cast<const B&>(*a);
# | | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1 warning generated.
# `-----------------------------
# 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/CodeGenCXX/dynamic-cast-address-space.cpp --check-prefix=WITH-NONZERO-DEFAULT-AS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp:110:29: error: WITH-NONZERO-DEFAULT-AS: expected string not found in input
# | // WITH-NONZERO-DEFAULT-AS: attributes #[[ATTR0]] = { mustprogress noinline optnone "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+16-bit-insts,+add-min-max-insts,+ashr-pk-insts,+atomic-buffer-global-pk-add-f16-insts,+atomic-buffer-pk-add-bf16-inst,+atomic-ds-pk-add-16-insts,+atomic-fadd-rtn-insts,+atomic-flat-pk-add-16-insts,+atomic-fmin-fmax-global-f32,+atomic-fmin-fmax-global-f64,+atomic-global-pk-add-bf16-inst,+bf16-cvt-insts,+bf16-pk-insts,+bf16-trans-insts,+bf8-cvt-scale-insts,+bitop3-insts,+ci-insts,+clusters,+cube-insts,+cvt-pknorm-vop2-insts,+dl-insts,+dot1-insts,+dot10-insts,+dot11-insts,+dot12-insts,+dot13-insts,+dot2-insts,+dot3-insts,+dot4-insts,+dot5-insts,+dot6-insts,+dot7-insts,+dot8-insts,+dot9-insts,+dpp,+f16bf16-to-fp6bf6-cvt-scale-insts,+f32-to-f16bf16-cvt-sr-insts,+flat-global-insts,+fp4-cvt-scale-insts,+fp6bf6-cvt-scale-insts,+fp8-conversion-insts,+fp8-cvt-scale-insts,+fp8-insts,+fp8e5m3-insts,+gfx10-3-insts,+gfx10-insts,+gfx11-insts,+gfx12-insts,+gfx1250-insts,+gfx1251-gemm-insts,+gfx8-insts,+gfx9-insts,+gfx90a-insts,+gfx940-insts,+gfx950-insts,+gws,+image-insts,+lerp-inst,+mai-insts,+mcast-load-insts,+mqsad-insts,+mqsad-pk-insts,+msad-insts,+permlane16-swap,+permlane32-swap,+pk-add-min-max-insts,+prng-inst,+qsad-insts,+s-memrealtime,+s-memtime-inst,+s-wakeup-barrier-inst,+sad-insts,+setprio-inc-wg-inst,+swmmac-gfx1200-insts,+swmmac-gfx1250-insts,+tanh-insts,+tensor-cvt-lut-insts,+transpose-load-f4f6-insts,+vmem-pref-insts,+vmem-to-lds-load-insts,+wavefrontsize32,+wavefrontsize64,+wmma-128b-insts,+wmma-256b-insts,+xf32-insts,+xnack-any-only" }
# | ^
# | <stdin>:58:81: note: scanning from here
# | ret ptr addrspace(4) addrspacecast (ptr addrspace(1) @fail to ptr addrspace(4))
# | ^
# | <stdin>:58:81: note: with "ATTR0" equal to "0"
# | ret ptr addrspace(4) addrspacecast (ptr addrspace(1) @fail to ptr addrspace(4))
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 53: %6 = call spir_func addrspace(4) ptr addrspace(4) @__cxa_begin_catch(ptr addrspace(4) %exn) #3
# | 54: call spir_func addrspace(4) void @__cxa_end_catch()
# | 55: br label %try.cont
# | 56:
# | 57: try.cont: ; preds = %catch, %dynamic_cast.end
# | 58: ret ptr addrspace(4) addrspacecast (ptr addrspace(1) @fail to ptr addrspace(4))
# | check:110'0 X error: no match found
# | check:110'1 with "ATTR0" equal to "0"
# | 59: }
# | check:110'0 ~~
# | 60:
# | check:110'0 ~
# | 61: ; Function Attrs: nounwind willreturn memory(read)
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 62: declare spir_func ptr addrspace(4) @__dynamic_cast(ptr addrspace(4), ptr addrspace(1), ptr addrspace(1), i64) addrspace(4) #1
# | check:110'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 63:
# | check:110'0 ~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/204595
More information about the llvm-branch-commits
mailing list