[llvm] [AMDGPU] Avoid undefs in hazard-gfx1250-flat-scr-hi.mir. NFC (PR #170396)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 2 17:24:11 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166642 tests passed
* 2900 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1250 -run-pass si-fold-operands /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1250 -run-pass si-fold-operands /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir -o -
# .---command stderr------------
# | MachineFunctionProperties required by SI Fold Operands pass are not met by function s_bitset0_b64.
# | Required properties: IsSSA
# | Current properties: NoPHIs, TracksLiveness, TiedOpsRewritten
# | MachineFunctionProperties check failed
# | UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:66!
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1250 -run-pass si-fold-operands /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir -o -
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir'.
# | 2. Running pass 'SI Fold Operands' on function '@s_bitset0_b64'
# | #0 0x0000000007f0fe98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# | #1 0x0000000007f0d5a5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# | #2 0x0000000007f10c61 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# | #3 0x00007bb4d8952330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007bb4d89abb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007bb4d895227e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007bb4d89358ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000000007e7482f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x7e7482f)
# | #8 0x0000000006f1ca81 Twine /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Twine.h:187:5
# | #9 0x0000000006f1ca81 concat /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Twine.h:523:10
# | #10 0x0000000006f1ca81 operator+ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/Twine.h:527:14
# | #11 0x0000000006f1ca81 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:0
# | #12 0x000000000748b835 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1398:27
# | #13 0x00000000074937e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #14 0x000000000748c2dc runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #15 0x000000000748c2dc llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #16 0x0000000004dda388 compileModule(char**, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:0:8
# | #17 0x0000000004dd7720 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:449:13
# | #18 0x00007bb4d89371ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #19 0x00007bb4d893728b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #20 0x0000000004dd31a5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4dd31a5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hazard-gfx1250-flat-scr-hi.mir
# `-----------------------------
# error: command failed with exit status: 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/170396
More information about the llvm-commits
mailing list