[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: Linux-->
# :penguin: Linux x64 Test Results

* 169423 tests passed
* 3051 tests skipped
* 3 tests 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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1010 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/uniform-load-from-tid.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=GCN,W32 --enable-var-scope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/uniform-load-from-tid.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1010
# 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,W32 --enable-var-scope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/uniform-load-from-tid.ll
# .---command stderr------------
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_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>

### lldb-api
<details>
<summary>lldb-api.functionalities/tsan/cpp_global_location/TestTsanCPPGlobalLocation.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/tsan/cpp_global_location -p TestTsanCPPGlobalLocation.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 44194cd32bfd32b918cd095266a03f6fb9fa06c2)
  clang revision 44194cd32bfd32b918cd095266a03f6fb9fa06c2
  llvm revision 44194cd32bfd32b918cd095266a03f6fb9fa06c2
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dsym (TestTsanCPPGlobalLocation.TsanCPPGlobalLocationTestCase.test_dsym) (test case does not fall in any category of interest for this run) 
XPASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dwarf (TestTsanCPPGlobalLocation.TsanCPPGlobalLocationTestCase.test_dwarf)
XPASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dwo (TestTsanCPPGlobalLocation.TsanCPPGlobalLocationTestCase.test_dwo)
======================================================================
UNEXPECTED SUCCESS: test_dwarf (TestTsanCPPGlobalLocation.TsanCPPGlobalLocationTestCase.test_dwarf)
UNEXPECTED SUCCESS: test_dwo (TestTsanCPPGlobalLocation.TsanCPPGlobalLocationTestCase.test_dwo)
----------------------------------------------------------------------
Ran 3 tests in 4.467s

FAILED (skipped=1, unexpected successes=2)

--

```
</details>
<details>
<summary>lldb-api.functionalities/tsan/global_location/TestTsanGlobalLocation.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/tsan/global_location -p TestTsanGlobalLocation.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 44194cd32bfd32b918cd095266a03f6fb9fa06c2)
  clang revision 44194cd32bfd32b918cd095266a03f6fb9fa06c2
  llvm revision 44194cd32bfd32b918cd095266a03f6fb9fa06c2
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
ThreadSanitizer report breakpoint hit. Use 'thread info -s' to get extended information about the report.
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dsym (TestTsanGlobalLocation.TsanGlobalLocationTestCase.test_dsym) (test case does not fall in any category of interest for this run) 
XPASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dwarf (TestTsanGlobalLocation.TsanGlobalLocationTestCase.test_dwarf)
XPASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_dwo (TestTsanGlobalLocation.TsanGlobalLocationTestCase.test_dwo)
======================================================================
UNEXPECTED SUCCESS: test_dwarf (TestTsanGlobalLocation.TsanGlobalLocationTestCase.test_dwarf)
UNEXPECTED SUCCESS: test_dwo (TestTsanGlobalLocation.TsanGlobalLocationTestCase.test_dwo)
----------------------------------------------------------------------
Ran 3 tests in 4.400s

FAILED (skipped=1, unexpected successes=2)

--

```
</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