[llvm] [AMDGPU] Add more cases to the "this is a wave ID" recognizer (PR #177713)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 9 09:48:02 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 130683 tests passed
* 2925 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/uniform-load-from-tid.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1010 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\uniform-load-from-tid.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefixes=GCN,W32 --enable-var-scope C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\uniform-load-from-tid.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1010
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefixes=GCN,W32 --enable-var-scope 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\uniform-load-from-tid.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\uniform-load-from-tid.ll:28:8: error: W32: expected string not found in input
# | ; W32: v_readfirstlane_b32 [[OFFSET:s[0-9]+]], v0
# | ^
# | <stdin>:80:15: note: scanning from here
# | ashr_threadid: ; @ashr_threadid
# | ^
# | <stdin>:83:2: note: possible intended match here
# | v_lshrrev_b32_e32 v0, 3, v0
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\uniform-load-from-tid.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 75: .long 0
# | 76: .text
# | 77: .globl ashr_threadid ; -- Begin function ashr_threadid
# | 78: .p2align 8
# | 79: .type ashr_threadid, at function
# | 80: ashr_threadid: ; @ashr_threadid
# | check:28'0 X~~~~~~~~~~~~~~~~~ error: no match found
# | 81: ; %bb.0: ; %entry
# | check:28'0 ~~~~~~~~~~~~~~~~~~
# | 82: s_load_dwordx4 s[0:3], s[4:5], 0x24
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 83: v_lshrrev_b32_e32 v0, 3, v0
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:28'1 ? possible intended match
# | 84: v_and_b32_e32 v0, 4, v0
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 85: s_waitcnt lgkmcnt(0)
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~
# | 86: global_load_dword v1, v0, s[0:1]
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 87: s_waitcnt vmcnt(0)
# | check:28'0 ~~~~~~~~~~~~~~~~~~~~
# | 88: global_store_dword v0, v1, s[2:3]
# | check:28'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/177713
More information about the llvm-commits
mailing list