[llvm] [AMDGPU][GlobalISel] Add register bank legalization for buffer_load byte and short (PR #167798)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 08:56:37 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `llvm` at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/18979

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/llc -mtriple=amdgcn-amd-amdhsa -global-isel -new-reg-bank-select -mcpu=gfx1200 < /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck --check-prefix=GFX12 /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/llc -mtriple=amdgcn-amd-amdhsa -global-isel -new-reg-bank-select -mcpu=gfx1200
# note: command had no output on stdout or stderr
# executed command: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/FileCheck --check-prefix=GFX12 /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll
# .---command stderr------------
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll:160:15: error: GFX12-NEXT: expected string not found in input
# | ; GFX12-NEXT: s_wait_alu 0xf1ff
# |               ^
# | <stdin>:757:28: note: scanning from here
# |  v_readfirstlane_b32 s7, v3
# |                            ^
# | <stdin>:758:2: note: possible intended match here
# |  s_wait_alu depctr_va_sdst(0)
# |  ^
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll:192:15: error: GFX12-NEXT: expected string not found in input
# | ; GFX12-NEXT: s_wait_alu 0xf1ff
# |               ^
# | <stdin>:864:23: note: scanning from here
# |  s_mov_b32 s7, exec_lo
# |                       ^
# | <stdin>:865:2: note: possible intended match here
# |  s_wait_alu depctr_va_sdst(0)
# |  ^
# | /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll:223:15: error: GFX12-NEXT: expected string not found in input
# | ; GFX12-NEXT: s_wait_alu 0xf1ff
# |               ^
# | <stdin>:970:28: note: scanning from here
# |  v_readfirstlane_b32 s9, v5
# |                            ^
# | <stdin>:971:2: note: possible intended match here
# |  s_wait_alu depctr_va_sdst(0)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/buffer-load-byte-short.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           752: .LBB8_1: ; =>This Inner Loop Header: Depth=1 
...

```

</details>

https://github.com/llvm/llvm-project/pull/167798


More information about the llvm-commits mailing list