[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Add RegBankLegalize support for G_AMDGPU_MAD_* (PR #175887)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jan 13 22:12:31 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 168048 tests passed
* 2989 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/GlobalISel/mul.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx700 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -new-reg-bank-select -mtriple=amdgcn -mcpu=gfx700
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll:1533:14: error: GFX7-NEXT: is not on the line after the previous match
# | ; GFX7-NEXT: v_mov_b32_e32 v0, s14
# |              ^
# | <stdin>:1185:2: note: 'next' match was here
# |  v_mov_b32_e32 v0, s14
# |  ^
# | <stdin>:1181:25: note: previous match ended here
# |  s_add_u32 s19, s34, s19
# |                         ^
# | <stdin>:1182:1: note: non-matching line after previous match is here
# |  s_addc_u32 s28, s35, s28
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |         1180:  v_readfirstlane_b32 s35, v0 
# |         1181:  s_add_u32 s19, s34, s19 
# |         1182:  s_addc_u32 s28, s35, s28 
# |         1183:  s_cselect_b32 s34, 1, 0 
# |         1184:  s_cmp_lg_u32 s25, 0 
# |         1185:  v_mov_b32_e32 v0, s14 
# | next:1533      !~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         1186:  s_cselect_b32 s25, 1, 0 
# |         1187:  s_cmp_lg_u32 s26, 0 
# |         1188:  v_mul_hi_u32 v0, s16, v0 
# |         1189:  s_addc_u32 s19, s25, s19 
# |         1190:  s_cselect_b32 s25, 1, 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/175887


More information about the llvm-branch-commits mailing list