[llvm] [AMDGPU] Emit b32 movs if (a)v_mov_b64_pseudo dest vgprs are misaligned (PR #160547)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 20 06:10:25 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166203 tests passed
* 2848 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll:10:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: v_mov_b32_e32 v4, v3
# | ^
# | <stdin>:11:22: note: scanning from here
# | v_mov_b32_e32 v3, v2
# | ^
# | <stdin>:14:2: note: possible intended match here
# | v_mov_b64_e32 v[0:1], s[0:1]
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: .type foo, at function
# | 7: foo: ; @foo
# | 8: ; %bb.0: ; %entry
# | 9: s_load_dwordx2 s[0:1], s[4:5], 0x0
# | 10: v_mov_b32_e32 v2, 0
# | 11: v_mov_b32_e32 v3, v2
# | next:10'0 X error: no match found
# | 12: s_waitcnt lgkmcnt(0)
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 13: s_add_u32 s2, s0, 4
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~
# | 14: v_mov_b64_e32 v[0:1], s[0:1]
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:10'1 ? possible intended match
# | 15: s_addc_u32 s3, s1, 0
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 16: flat_store_dword v[0:1], v2
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: v_mov_b64_e32 v[0:1], s[2:3]
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 18: flat_store_dwordx2 v[0:1], v[2:3]
# | next:10'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 19: s_endpgm
# | next:10'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/160547
More information about the llvm-commits
mailing list