[llvm] [AMDGPU] Emit the relocation symbol for LDS and named barrier when object linking is enabled (PR #192380)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 20:57:31 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 133636 tests passed
* 3113 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/lds-link-time-codegen.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -amdgpu-enable-object-linking < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\lds-link-time-codegen.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=ASM C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\lds-link-time-codegen.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -amdgpu-enable-object-linking
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=ASM 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\lds-link-time-codegen.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\lds-link-time-codegen.ll:21:12: error: ASM-DAG: expected string not found in input
# | ; ASM-DAG: s_add_i32 s{{[0-9]+}}, s{{[0-9]+}}, lds_large at abs32@lo
# | ^
# | <stdin>:39:13: note: scanning from here
# | test_kernel: ; @test_kernel
# | ^
# | <stdin>:50:2: note: possible intended match here
# | s_add_i32 s14, s17, lds_small at abs32@lo
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\lds-link-time-codegen.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 34: ; MemoryBound: 0
# | 35: .text
# | 36: .globl test_kernel ; -- Begin function test_kernel
# | 37: .p2align 8
# | 38: .type test_kernel, at function
# | 39: test_kernel: ; @test_kernel
# | dag:21'0 X~~~~~~~~~~~~~~~ error: no match found
# | 40: ; %bb.0:
# | dag:21'0 ~~~~~~~~~
# | 41: s_add_u32 flat_scratch_lo, s12, s17
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 42: s_addc_u32 flat_scratch_hi, s13, 0
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 43: s_add_u32 s0, s0, s17
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 44: s_load_dword s17, s[8:9], 0x0
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 45: s_addc_u32 s1, s1, 0
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 46: s_mov_b32 s12, s14
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~
# | 47: v_mov_b32_e32 v3, 2
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~
# | 48: s_mov_b32 s13, s15
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~
# | 49: s_waitcnt lgkmcnt(0)
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 50: s_add_i32 s14, s17, lds_small at abs32@lo
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:21'1 ? possible intended match
# | 51: v_mov_b32_e32 v4, s14
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~
# | 52: s_add_i32 s14, s17, lds_dynamic at abs32@lo
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 53: s_add_u32 s8, s8, 8
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~
# | 54: s_addc_u32 s9, s9, 0
# | dag:21'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 55: ds_write_b8 v4, v3
# | dag:21'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/192380
More information about the llvm-commits
mailing list