[llvm] [AMDGPU] Add DS loop wait optimization infrastructure (1/4) (PR #171942)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 14:58:09 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 128625 tests passed
* 2816 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/waitcnt-loop-ds-opt-eligible.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -run-pass=si-insert-waitcnts -amdgpu-waitcnt-loop-ds-opt -debug-only=si-insert-waitcnts -filetype-null C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\waitcnt-loop-ds-opt-eligible.mir 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\waitcnt-loop-ds-opt-eligible.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -run-pass=si-insert-waitcnts -amdgpu-waitcnt-loop-ds-opt -debug-only=si-insert-waitcnts -filetype-null 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\waitcnt-loop-ds-opt-eligible.mir'
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\waitcnt-loop-ds-opt-eligible.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\waitcnt-loop-ds-opt-eligible.mir:9:10: error: CHECK: expected string not found in input
# | # CHECK: Loop DS Wait Opt: Loop at bb.1 - 16 DS loads, 8 WMMA/MFMA, {{[0-9]+}} total insts, eligible
# |          ^
# | <stdin>:1:1: note: scanning from here
# | llc.exe: Unknown command line argument '-filetype-null'. Try: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe --help'
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\waitcnt-loop-ds-opt-eligible.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: llc.exe: Unknown command line argument '-filetype-null'. Try: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe --help' 
# | check:9     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |          2: llc.exe: Did you mean '--filetype'? 
# | check:9     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# 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/171942


More information about the llvm-commits mailing list