[llvm] [AMDGPU] Add AMDGPU support for llvm-objcopy (PR #190020)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 12:58:09 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 179999 tests passed
* 3624 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/llvm.amdgcn.rcp.bf16.ll (Likely Already Failing)</summary>
This test is already failing at the base commit.
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgpu12.50-amd-amdhsa -mattr=+real-true16 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SDAG-TRUE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgpu12.50-amd-amdhsa -mattr=+real-true16
# 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=SDAG-TRUE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.bf16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.bf16.ll:65:21: error: SDAG-TRUE16-NEXT: expected string not found in input
# | ; SDAG-TRUE16-NEXT: global_prefetch_b8 v0, s[0:1] scope:SCOPE_SE
# | ^
# | <stdin>:104:9: note: scanning from here
# | ; %bb.0:
# | ^
# | <stdin>:105:2: note: possible intended match here
# | global_prefetch_b8 v0, null scope:SCOPE_SE
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.bf16.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 99: .text
# | 100: .globl rcp_bf16_global_load ; -- Begin function rcp_bf16_global_load
# | 101: .p2align 8
# | 102: .type rcp_bf16_global_load, at function
# | 103: rcp_bf16_global_load: ; @rcp_bf16_global_load
# | 104: ; %bb.0:
# | next:65'0 { search range start (exclusive)
# | next:65'1 error: no match found in search range
# | 105: global_prefetch_b8 v0, null scope:SCOPE_SE
# | next:65'2 ? possible intended match
# | 106: v_nop
# | 107: s_setreg_imm32_b32 hwreg(HW_REG_WAVE_MODE, 25, 1), 1 ; msbs: dst=0 src0=0 src1=0 src2=0
# | 108: s_load_b128 s[0:3], s[4:5], 0x0 nv
# | 109: v_and_b32_e32 v0, 0x3ff, v0
# | 110: v_mov_b32_e32 v1, 0
# | .
# | .
# | .
# | 197: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
# | 198: .text
# | 199: .globl rcp_bf16_constant_4 ; -- Begin function rcp_bf16_constant_4
# | 200: .p2align 8
# | 201: .type rcp_bf16_constant_4, at function
# | 202: rcp_bf16_constant_4: ; @rcp_bf16_constant_4
# | next:65'3 } search range end (exclusive)
# | 203: ; %bb.0:
# | 204: global_prefetch_b8 v0, null scope:SCOPE_SE
# | 205: v_nop
# | 206: s_setreg_imm32_b32 hwreg(HW_REG_WAVE_MODE, 25, 1), 1 ; msbs: dst=0 src0=0 src1=0 src2=0
# | 207: s_load_b64 s[0:1], s[4:5], 0x0 nv
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll (Likely Already Failing)</summary>
This test is already failing at the base commit.
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgpu12.50-amd-amdhsa -mattr=+real-true16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SDAG-REAL16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgpu12.50-amd-amdhsa -mattr=+real-true16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll -o -
# 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=SDAG-REAL16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgpu12.50-amd-amdhsa -mattr=-real-true16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SDAG-FAKE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgpu12.50-amd-amdhsa -mattr=-real-true16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll -o -
# 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=SDAG-FAKE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu12.50-amd-amdhsa -mattr=+real-true16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GISEL-REAL16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgpu12.50-amd-amdhsa -mattr=+real-true16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll -o -
# 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=GISEL-REAL16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll:36:22: error: GISEL-REAL16-NEXT: expected string not found in input
# | ; GISEL-REAL16-NEXT: global_prefetch_b8 v0, s[0:1] scope:SCOPE_SE
# | ^
# | <stdin>:8:9: note: scanning from here
# | ; %bb.0:
# | ^
# | <stdin>:9:2: note: possible intended match here
# | global_prefetch_b8 v0, null scope:SCOPE_SE
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll:89:22: error: GISEL-REAL16-NEXT: expected string not found in input
# | ; GISEL-REAL16-NEXT: global_prefetch_b8 v0, s[0:1] scope:SCOPE_SE
# | ^
# | <stdin>:104:9: note: scanning from here
# | ; %bb.0:
# | ^
# | <stdin>:105:2: note: possible intended match here
# | global_prefetch_b8 v0, null scope:SCOPE_SE
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll:142:22: error: GISEL-REAL16-NEXT: expected string not found in input
# | ; GISEL-REAL16-NEXT: global_prefetch_b8 v0, s[0:1] scope:SCOPE_SE
# | ^
# | <stdin>:200:9: note: scanning from here
# | ; %bb.0:
# | ^
# | <stdin>:201:2: note: possible intended match here
# | global_prefetch_b8 v0, null scope:SCOPE_SE
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll:185:22: error: GISEL-REAL16-NEXT: expected string not found in input
# | ; GISEL-REAL16-NEXT: global_prefetch_b8 v0, s[0:1] scope:SCOPE_SE
# | ^
# | <stdin>:296:9: note: scanning from here
# | ; %bb.0:
# | ^
# | <stdin>:297:2: note: possible intended match here
# | global_prefetch_b8 v0, null scope:SCOPE_SE
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.bf16.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: .amdgcn_target "amdgpu12.50-amd-amdhsa-unknown-gfx1250"
# | 2: .amdhsa_code_object_version 6
# | 3: .text
# | 4: .globl rsq_bf16 ; -- Begin function rsq_bf16
# | 5: .p2align 8
# | 6: .type rsq_bf16, at function
# | 7: rsq_bf16: ; @rsq_bf16
# | 8: ; %bb.0:
# | next:36'0 { search range start (exclusive)
# | next:36'1 error: no match found in search range
# | 9: global_prefetch_b8 v0, null scope:SCOPE_SE
# | next:36'2 ? possible intended match
# | 10: v_nop
# | 11: s_setreg_imm32_b32 hwreg(HW_REG_WAVE_MODE, 25, 1), 1 ; msbs: dst=0 src0=0 src1=0 src2=0
# | 12: s_load_b96 s[0:2], s[4:5], 0x0 nv
# | 13: v_mov_b32_e32 v1, 0
# | 14: s_wait_kmcnt 0x0
# | .
# | .
# | .
# | 98: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
# | 99: .text
# | 100: .globl rsq_bf16_constant_4 ; -- Begin function rsq_bf16_constant_4
# | 101: .p2align 8
# | 102: .type rsq_bf16_constant_4, at function
# | 103: rsq_bf16_constant_4: ; @rsq_bf16_constant_4
# | next:36'3 } search range end (exclusive)
# | 104: ; %bb.0:
# | next:89'0 { search range start (exclusive)
# | next:89'1 error: no match found in search range
# | 105: global_prefetch_b8 v0, null scope:SCOPE_SE
# | next:89'2 ? possible intended match
# | 106: v_nop
# | 107: s_setreg_imm32_b32 hwreg(HW_REG_WAVE_MODE, 25, 1), 1 ; msbs: dst=0 src0=0 src1=0 src2=0
# | 108: s_load_b64 s[0:1], s[4:5], 0x0 nv
# | 109: v_rsq_bf16_e32 v0.l, 4.0
# | 110: v_mov_b32_e32 v1, 0
# | .
# | .
# | .
# | 194: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
# | 195: .text
# | 196: .globl rsq_bf16_constant_100 ; -- Begin function rsq_bf16_constant_100
# | 197: .p2align 8
# | 198: .type rsq_bf16_constant_100, at function
# | 199: rsq_bf16_constant_100: ; @rsq_bf16_constant_100
# | next:89'3 } search range end (exclusive)
# | 200: ; %bb.0:
# | next:142'0 { search range start (exclusive)
# | next:142'1 error: no match found in search range
# | 201: global_prefetch_b8 v0, null scope:SCOPE_SE
# | next:142'2 ? possible intended match
# | 202: v_nop
# | 203: s_setreg_imm32_b32 hwreg(HW_REG_WAVE_MODE, 25, 1), 1 ; msbs: dst=0 src0=0 src1=0 src2=0
# | 204: s_load_b64 s[0:1], s[4:5], 0x0 nv
# | 205: v_rsq_bf16_e32 v0.l, 0x42c8
# | 206: v_mov_b32_e32 v1, 0
# | .
# | .
# | .
# | 290: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
# | 291: .text
# | 292: .globl rsq_undef_bf16 ; -- Begin function rsq_undef_bf16
# | 293: .p2align 8
# | 294: .type rsq_undef_bf16, at function
# | 295: rsq_undef_bf16: ; @rsq_undef_bf16
# | next:142'3 } search range end (exclusive)
# | 296: ; %bb.0:
# | next:185'0 { search range start (exclusive)
# | next:185'1 error: no match found in search range
# | 297: global_prefetch_b8 v0, null scope:SCOPE_SE
# | next:185'2 ? possible intended match
# | 298: v_nop
# | 299: s_setreg_imm32_b32 hwreg(HW_REG_WAVE_MODE, 25, 1), 1 ; msbs: dst=0 src0=0 src1=0 src2=0
# | 300: s_load_b64 s[0:1], s[4:5], 0x0 nv
# | 301: v_mov_b32_e32 v1, 0
# | 302: s_wait_kmcnt 0x0
# | .
# | .
# | .
# | 709: amdhsa.version:
# | 710: - 1
# | 711: - 2
# | 712: ...
# | 713:
# | 714: .end_amdgpu_metadata
# | next:185'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/190020
More information about the llvm-commits
mailing list