[llvm] [RegisterScavenging] Respect early-clobber when scavenging registers (PR #184814)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 08:11:16 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 170736 tests passed
* 3012 tests skipped
* 28 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/settag-merge-order.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/settag-merge-order.ll -mtriple=aarch64 -mattr=+mte -aarch64-order-frame-objects=1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/settag-merge-order.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64 -mattr=+mte -aarch64-order-frame-objects=1
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=aarch64 -mattr=+mte -aarch64-order-frame-objects=1
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@stg2'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x0000788525be0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x0000788525c39b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x0000788525be027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x0000788525bc38ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x0000788525bc381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x0000788525bd6517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x000000000744424e scavengeVReg(llvm::MachineRegisterInfo&, llvm::RegScavenger&, llvm::Register, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:402:22
# | #11 0x0000000007443de8 isSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:44:36
# | #12 0x0000000007443de8 isKnownSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:45:41
# | #13 0x0000000007443de8 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168:22
# | #14 0x0000000007443de8 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:178:40
# | #15 0x0000000007443de8 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:179:40
# | #16 0x0000000007443de8 scavengeFrameVirtualRegsInBlock(llvm::MachineRegisterInfo&, llvm::RegScavenger&, llvm::MachineBasicBlock&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:467:9
# | #17 0x000000000744389a llvm::scavengeFrameVirtualRegs(llvm::MachineFunction&, llvm::RegScavenger&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:501:9
# | #18 0x0000000007395ad7 getFrameInfo /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:792:46
# | #19 0x0000000007395ad7 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:289:30
# | #20 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #21 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #22 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #23 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #24 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #25 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #26 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #27 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #28 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #29 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #30 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #31 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #32 0x0000788525bc51ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x0000788525bc528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/AArch64/settag-merge-order.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/settag-merge-order.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AArch64/settag-merge.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/settag-merge.ll -mtriple=aarch64 -mattr=+mte -aarch64-order-frame-objects=0 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/settag-merge.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64 -mattr=+mte -aarch64-order-frame-objects=0
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=aarch64 -mattr=+mte -aarch64-order-frame-objects=0
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@early_128_128'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007d0358028330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007d0358081b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007d035802827e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007d035800b8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007d035800b81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007d035801e517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x000000000744424e scavengeVReg(llvm::MachineRegisterInfo&, llvm::RegScavenger&, llvm::Register, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:402:22
# | #11 0x0000000007443de8 isSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:44:36
# | #12 0x0000000007443de8 isKnownSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:45:41
# | #13 0x0000000007443de8 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168:22
# | #14 0x0000000007443de8 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:178:40
# | #15 0x0000000007443de8 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:179:40
# | #16 0x0000000007443de8 scavengeFrameVirtualRegsInBlock(llvm::MachineRegisterInfo&, llvm::RegScavenger&, llvm::MachineBasicBlock&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:467:9
# | #17 0x000000000744389a llvm::scavengeFrameVirtualRegs(llvm::MachineFunction&, llvm::RegScavenger&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:501:9
# | #18 0x0000000007395ad7 getFrameInfo /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:792:46
# | #19 0x0000000007395ad7 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:289:30
# | #20 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #21 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #22 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #23 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #24 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #25 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #26 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #27 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #28 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #29 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #30 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #31 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #32 0x00007d035800d1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x00007d035800d28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/AArch64/settag-merge.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/settag-merge.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/accvgpr-copy.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=gfx908 -run-pass postrapseudos -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -run-pass postrapseudos -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=gfx908 -run-pass postrapseudos -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir'.
# | 2.	Running pass 'Post-RA pseudo instruction expansion pass' on function '@a2_to_a2_implicit_defs'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007f1e85474330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007f1e854cdb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007f1e8547427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007f1e854578ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007f1e8545781b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007f1e8546a517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005815014 indirectCopyToAGPR(llvm::SIInstrInfo const&, llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc const&, llvm::MCRegister, llvm::MCRegister, bool, llvm::RegScavenger&, bool, llvm::Register, llvm::Register) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:738:10
# | #11 0x0000000005813a85 llvm::SIInstrInfo::copyPhysReg(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc const&, llvm::Register, llvm::Register, bool, bool, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:0:7
# | #12 0x00000000074e5ad5 llvm::TargetInstrInfo::lowerCopy(llvm::MachineInstr*, llvm::TargetRegisterInfo const*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/TargetInstrInfo.cpp:899:3
# | #13 0x0000000007090838 (anonymous namespace)::ExpandPostRA::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp:0:14
# | #14 0x0000000007090fce (anonymous namespace)::ExpandPostRALegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp:122:3
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #18 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #19 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #20 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #21 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #22 0x00007f1e854591ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #23 0x00007f1e8545928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #24 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.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=GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-copy.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relax-indirect-branch.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mtriple=amdgcn-amd-amdhsa --amdgpu-s-branch-bits=5 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-indirect-branch.mir -o - | /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/branch-relax-indirect-branch.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mtriple=amdgcn-amd-amdhsa --amdgpu-s-branch-bits=5 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-indirect-branch.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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 -verify-machineinstrs -mtriple=amdgcn-amd-amdhsa --amdgpu-s-branch-bits=5 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-indirect-branch.mir -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-indirect-branch.mir'.
# | 2.	Running pass 'Branch relaxation pass' on function '@branch_no_terminators'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007ec0616b3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007ec06170cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007ec0616b327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007ec0616968ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007ec06169681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007ec0616a9517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #18 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #19 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #20 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #21 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #22 0x00007ec0616981ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #23 0x00007ec06169828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #24 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/branch-relax-indirect-branch.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/branch-relax-indirect-branch.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relax-no-terminators.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a --amdgpu-s-branch-bits=5 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-no-terminators.mir -o - | /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/branch-relax-no-terminators.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -verify-machineinstrs -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a --amdgpu-s-branch-bits=5 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-no-terminators.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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 -verify-machineinstrs -mtriple=amdgcn-amd-amdhsa -mcpu=gfx90a --amdgpu-s-branch-bits=5 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-no-terminators.mir -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-no-terminators.mir'.
# | 2.	Running pass 'Branch relaxation pass' on function '@branch_no_terminators'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007ea140f80330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007ea140fd9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007ea140f8027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007ea140f638ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007ea140f6381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007ea140f76517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #18 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #19 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #20 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #21 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #22 0x00007ea140f651ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #23 0x00007ea140f6528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #24 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/branch-relax-no-terminators.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/branch-relax-no-terminators.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relax-spill.ll</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-amd-amdhsa -mcpu=tahiti -amdgpu-s-branch-bits=5 -amdgpu-long-branch-factor=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-spill.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/branch-relax-spill.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=tahiti -amdgpu-s-branch-bits=5 -amdgpu-long-branch-factor=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-spill.ll
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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-amd-amdhsa -mcpu=tahiti -amdgpu-s-branch-bits=5 -amdgpu-long-branch-factor=0 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-spill.ll
# | 1.	Running pass 'CallGraph Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relax-spill.ll'.
# | 2.	Running pass 'Branch relaxation pass' on function '@spill'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007d762a89c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007d762a8f5b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007d762a89c27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007d762a87f8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007d762a87f81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007d762a892517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x00007d762a8811ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x00007d762a88128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/branch-relax-spill.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/branch-relax-spill.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relaxation-debug-info.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -start-before=branch-relaxation -amdgpu-s-branch-bits=4 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.mir | /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/branch-relaxation-debug-info.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -start-before=branch-relaxation -amdgpu-s-branch-bits=4 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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-amd-amdhsa -mcpu=gfx900 -start-before=branch-relaxation -amdgpu-s-branch-bits=4 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.mir
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-debug-info.mir'.
# | 2.	Running pass 'Branch relaxation pass' on function '@long_branch_dbg_value'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007dfacd8cb330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007dfacd924b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007dfacd8cb27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007dfacd8ae8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007dfacd8ae81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007dfacd8c1517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #18 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #19 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #20 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #21 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #22 0x00007dfacd8b01ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #23 0x00007dfacd8b028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #24 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# 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/branch-relaxation-debug-info.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/branch-relaxation-debug-info.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1030 -amdgpu-s-branch-bits=7 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,GFX1030 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1030 -amdgpu-s-branch-bits=7
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=gfx1030 -amdgpu-s-branch-bits=7
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@long_forward_exec_branch_3f_offset_bug'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007b763458f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007b76345e8b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007b763458f27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007b76345728ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007b763457281b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007b7634585517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x00007b76345741ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x00007b763457428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,GFX1030 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,GFX1030 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx10-branch-offset-bug.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relaxation-gfx1250.ll</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 -amdgpu-s-branch-bits=4 -simplifycfg-require-and-preserve-domtree=1 -amdgpu-long-branch-factor=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx1250.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx1250.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1250 -amdgpu-s-branch-bits=4 -simplifycfg-require-and-preserve-domtree=1 -amdgpu-long-branch-factor=0
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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 -amdgpu-s-branch-bits=4 -simplifycfg-require-and-preserve-domtree=1 -amdgpu-long-branch-factor=0
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@uniform_conditional_max_short_forward_branch'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x000078a6c40b0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000078a6c4109b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000078a6c40b027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000078a6c40938ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000078a6c409381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000078a6c40a6517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x000078a6c40951ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x000078a6c409528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx1250.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-gfx1250.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relaxation-inst-size-gfx1250.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-amd-amdhsa -mcpu=gfx1250 -amdgpu-s-branch-bits=4 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-inst-size-gfx1250.mir -o - | /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/branch-relaxation-inst-size-gfx1250.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-s-branch-bits=4 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-inst-size-gfx1250.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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-amd-amdhsa -mcpu=gfx1250 -amdgpu-s-branch-bits=4 -run-pass branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-inst-size-gfx1250.mir -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation-inst-size-gfx1250.mir'.
# | 2.	Running pass 'Branch relaxation pass' on function '@s_mov_b64_64bit_literal_size'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007b20f7069330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007b20f70c2b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007b20f706927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007b20f704c8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007b20f704c81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007b20f705f517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #18 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #19 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #20 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #21 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #22 0x00007b20f704e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #23 0x00007b20f704e28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #24 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/branch-relaxation-inst-size-gfx1250.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/branch-relaxation-inst-size-gfx1250.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/branch-relaxation.ll</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=tahiti -amdgpu-s-branch-bits=4 -simplifycfg-require-and-preserve-domtree=1 -amdgpu-long-branch-factor=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti -amdgpu-s-branch-bits=4 -simplifycfg-require-and-preserve-domtree=1 -amdgpu-long-branch-factor=0
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=tahiti -amdgpu-s-branch-bits=4 -simplifycfg-require-and-preserve-domtree=1 -amdgpu-long-branch-factor=0
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@uniform_conditional_min_long_forward_branch'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x0000794253244330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000079425329db2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000079425324427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007942532278ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000079425322781b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000079425323a517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x00007942532291ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x000079425322928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/branch-relaxation.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/callee-frame-setup.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 -mcpu=hawaii < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck  -enable-var-scope -check-prefixes=GCN,MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=hawaii
# .---command stderr------------
# | warning: inline asm clobber list contains reserved registers: s0, s1, s2, s3
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s78, s79, s80, s81, s82, s83, s84, s85, s86, s87, s88, s89, s90, s91, s92, s93, s94, s95, s96, s97, s98, s99, s100, s101, s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s78, s79, s80, s81, s82, s83, s84, s85, s86, s87, s88, s89, s90, s91, s92, s93, s94, s95, s96, s97, s98, s99, s100, s101, s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck  -enable-var-scope -check-prefixes=GCN,MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900
# .---command stderr------------
# | warning: inline asm clobber list contains reserved registers: s0, s1, s2, s3
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=+enable-flat-scratch < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck  -enable-var-scope -check-prefixes=GCN,FLATSCR /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=+enable-flat-scratch
# .---command stderr------------
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# | warning: inline asm clobber list contains reserved registers: s102
# | note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,FLATSCR /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll:1154:17: error: FLATSCR-NEXT: expected string not found in input
# | ; FLATSCR-NEXT: s_add_i32 s0, s33, 0x1000
# |                 ^
# | <stdin>:1049:21: note: scanning from here
# |  v_mov_b32_e32 v0, 0
# |                     ^
# | <stdin>:1064:2: note: possible intended match here
# |  s_add_i32 s2, s33, 0x1004
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1044:  s_add_i32 s2, s33, 0x1004 
# |           1045:  scratch_store_dword off, v40, s2 ; 4-byte Folded Spill 
# |           1046:  s_mov_b64 exec, s[0:1] 
# |           1047:  s_addk_i32 s32, 0x100c 
# |           1048:  v_writelane_b32 v40, s30, 0 
# |           1049:  v_mov_b32_e32 v0, 0 
# | next:1154'0                         X error: no match found
# |           1050:  s_add_i32 s41, s33, 0x1000 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1051:  v_writelane_b32 v40, s31, 1 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1052:  scratch_store_dword off, v0, s41 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1053:  s_waitcnt vmcnt(0) 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~
# |           1054:  ;;#ASMSTART 
# | next:1154'0     ~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1059:  ;;#ASMEND 
# | next:1154'0     ~~~~~~~~~~~
# |           1060:  v_readlane_b32 s31, v40, 1 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1061:  v_readlane_b32 s30, v40, 0 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1062:  s_mov_b32 s32, s33 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~
# |           1063:  s_or_saveexec_b64 s[0:1], -1 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1064:  s_add_i32 s2, s33, 0x1004 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1154'1      ?                          possible intended match
# |           1065:  scratch_load_dword v40, off, s2 ; 4-byte Folded Reload 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1066:  s_mov_b64 exec, s[0:1] 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           1067:  s_mov_b32 s33, s40 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~
# |           1068:  s_waitcnt vmcnt(0) 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~
# |           1069:  s_setpc_b64 s[30:31] 
# | next:1154'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/eliminate-frame-index-select.ll</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=gfx1030 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/eliminate-frame-index-select.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/eliminate-frame-index-select.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1030
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=gfx1030
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@wobble'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007f999e92f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007f999e988b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007f999e92f27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007f999e9128ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007f999e91281b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007f999e925517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x000000000593d258 llvm::SIRegisterInfo::eliminateFrameIndex(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:24
# | #11 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #12 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #13 0x00000000073959d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #14 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #15 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #16 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #17 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #18 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #19 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #20 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #21 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #22 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #23 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #24 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #25 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #26 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #27 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #28 0x00007f999e9141ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #29 0x00007f999e91428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #30 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/eliminate-frame-index-select.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/eliminate-frame-index-select.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/eliminate-frame-index-select.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 -verify-machineinstrs -mcpu=gfx1030 -run-pass prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/eliminate-frame-index-select.mir | /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/eliminate-frame-index-select.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -verify-machineinstrs -mcpu=gfx1030 -run-pass prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/eliminate-frame-index-select.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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 -verify-machineinstrs -mcpu=gfx1030 -run-pass prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/eliminate-frame-index-select.mir
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/eliminate-frame-index-select.mir'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@test_s_cselect_b32'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007f4bacf46330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007f4bacf9fb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007f4bacf4627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007f4bacf298ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007f4bacf2981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007f4bacf3c517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x000000000593d258 llvm::SIRegisterInfo::eliminateFrameIndex(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:24
# | #11 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #12 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #13 0x00000000073959d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #14 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #15 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #16 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #17 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #18 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #19 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #20 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #21 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #22 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #23 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #24 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #25 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #26 0x00007f4bacf2b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #27 0x00007f4bacf2b28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #28 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/eliminate-frame-index-select.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/eliminate-frame-index-select.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/frame-index.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-amd-amdhsa -mcpu=tonga -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX8,GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=tonga -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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-amd-amdhsa -mcpu=tonga -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@func_frame_idx_at_the_end_of_bb'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007f1ae947f330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007f1ae94d8b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007f1ae947f27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007f1ae94628ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007f1ae946281b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007f1ae9475517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x000000000593d095 isSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:44:36
# | #11 0x000000000593d095 isKnownSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:45:41
# | #12 0x000000000593d095 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168:22
# | #13 0x000000000593d095 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:178:40
# | #14 0x000000000593d095 llvm::SIRegisterInfo::eliminateFrameIndex(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:2638:23
# | #15 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #16 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #17 0x00000000073959d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #18 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #19 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #20 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #21 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #22 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #23 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #24 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #25 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #26 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #27 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #28 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #29 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #30 0x00007f1ae94641ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #31 0x00007f1ae946428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #32 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX8,GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX8,GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/literal-constant-like-operand-instruction-size.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx906 -amdgpu-s-branch-bits=6 -amdgpu-long-branch-factor=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/literal-constant-like-operand-instruction-size.ll | /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/literal-constant-like-operand-instruction-size.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx906 -amdgpu-s-branch-bits=6 -amdgpu-long-branch-factor=0
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=gfx906 -amdgpu-s-branch-bits=6 -amdgpu-long-branch-factor=0
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@branch_offset_test'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007d6753b0c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007d6753b65b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007d6753b0c27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007d6753aef8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007d6753aef81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007d6753b02517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x00007d6753af11ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x00007d6753af128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# 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/literal-constant-like-operand-instruction-size.ll
# .---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/literal-constant-like-operand-instruction-size.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/schedule-amdgpu-tracker-physreg.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=tahiti -amdgpu-s-branch-bits=5 -amdgpu-long-branch-factor=0  < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/schedule-amdgpu-tracker-physreg.ll | /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/schedule-amdgpu-tracker-physreg.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=tahiti -amdgpu-s-branch-bits=5 -amdgpu-long-branch-factor=0
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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-amd-amdhsa -mcpu=tahiti -amdgpu-s-branch-bits=5 -amdgpu-long-branch-factor=0
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@spill'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007faf028d0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007faf02929b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007faf028d027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007faf028b38ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007faf028b381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007faf028c6517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x00007faf028b51ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x00007faf028b528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# 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/schedule-amdgpu-tracker-physreg.ll
# .---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/schedule-amdgpu-tracker-physreg.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/sgpr-spill.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=gfx900 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.mir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN64-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=gfx900 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.mir -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.mir'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@check_spill'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x000079518d164330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x000079518d1bdb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x000079518d16427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x000079518d1478ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x000079518d14781b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x000079518d15a517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005939e99 llvm::SGPRSpillBuilder::prepare() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:179:13
# | #11 0x0000000005939656 llvm::SIRegisterInfo::spillSGPR(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, llvm::RegScavenger*, llvm::SlotIndexes*, llvm::LiveIntervals*, bool, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:2077:49
# | #12 0x000000000593cace llvm::SIRegisterInfo::eliminateFrameIndex(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:0
# | #13 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #14 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #15 0x00000000073959d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #16 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #17 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #18 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #19 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #20 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #21 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #22 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #23 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #24 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #25 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #26 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #27 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #28 0x000079518d1491ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #29 0x000079518d14928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #30 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN64-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.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=GCN64-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sgpr-spill.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/spill-special-sgpr.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=gfx900 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=gfx900 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir -o -
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@check_vcc'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007bfb1e55a330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007bfb1e5b3b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007bfb1e55a27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007bfb1e53d8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007bfb1e53d81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007bfb1e550517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005939e99 llvm::SGPRSpillBuilder::prepare() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:179:13
# | #11 0x000000000593af27 getPerVGPRData /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:152:20
# | #12 0x000000000593af27 llvm::SIRegisterInfo::restoreSGPR(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, llvm::RegScavenger*, llvm::SlotIndexes*, llvm::LiveIntervals*, bool, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:2174:19
# | #13 0x000000000593caa8 llvm::SIRegisterInfo::eliminateFrameIndex(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:14
# | #14 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #15 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #16 0x00000000073959d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #17 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #18 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #19 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #20 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #21 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #22 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #23 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #24 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #25 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #26 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #27 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #28 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #29 0x00007bfb1e53f1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #30 0x00007bfb1e53f28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #31 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.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=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/spill_kill_v16.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -march=amdgcn -verify-machineinstrs -mcpu=gfx1100 -mattr=+real-true16 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -march=amdgcn -verify-machineinstrs -mcpu=gfx1100 -mattr=+real-true16 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -march=amdgcn -verify-machineinstrs -mcpu=gfx1250 -mattr=+real-true16 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SRAMECC-EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -march=amdgcn -verify-machineinstrs -mcpu=gfx1250 -mattr=+real-true16 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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 -march=amdgcn -verify-machineinstrs -mcpu=gfx1250 -mattr=+real-true16 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir'.
# | 2.	Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@spill_restore_vgpr16_end_of_block'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007b0179e4b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007b0179ea4b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007b0179e4b27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007b0179e2e8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007b0179e2e81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007b0179e41517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005937015 llvm::SIRegisterInfo::buildSpillLoadStore(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc const&, unsigned int, int, llvm::Register, bool, llvm::MCRegister, long, llvm::MachineMemOperand*, llvm::RegScavenger*, llvm::LiveRegUnits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:15
# | #11 0x000000000593cc0e llvm::SIRegisterInfo::eliminateFrameIndex(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:2556:7
# | #12 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #13 0x00000000073959d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #14 0x00000000073959d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #15 0x00000000073974f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #16 0x00000000073974f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #17 0x00000000073974f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #18 0x00000000073974f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #19 0x00000000073974f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #20 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #21 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #22 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #23 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #24 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #25 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #26 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #27 0x00007b0179e301ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #28 0x00007b0179e3028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #29 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SRAMECC-EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.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=SRAMECC-EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill_kill_v16.mir
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/branch-relaxation-spill-32.ll</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 -mattr=+d --filetype=obj --verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/branch-relaxation-spill-32.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 -mattr=+d --filetype=obj --verify-machineinstrs -o /dev/null
# .---command stdout------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=loongarch32 -mattr=+d --filetype=obj --verify-machineinstrs -o /dev/null
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@relax_b28_spill'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007a54d73df330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007a54d7438b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007a54d73df27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007a54d73c28ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007a54d73c281b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007a54d73d5517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005dc6f18 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/Register.h:132:64
# | #11 0x0000000005dc6f18 llvm::LoongArchInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp:681:12
# | #12 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #13 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #14 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #15 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #16 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #17 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #18 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #19 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #20 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #21 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #22 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #23 0x00007a54d73c41ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #24 0x00007a54d73c428b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #25 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/branch-relaxation-spill-64.ll</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch64 -mattr=+d --filetype=obj --verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/branch-relaxation-spill-64.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch64 -mattr=+d --filetype=obj --verify-machineinstrs -o /dev/null
# .---command stdout------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=loongarch64 -mattr=+d --filetype=obj --verify-machineinstrs -o /dev/null
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@relax_b28_spill'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007fe075608330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007fe075661b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007fe07560827e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007fe0755eb8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007fe0755eb81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007fe0755fe517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005dc6f18 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/Register.h:132:64
# | #11 0x0000000005dc6f18 llvm::LoongArchInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp:681:12
# | #12 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #13 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #14 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #15 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #16 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #17 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #18 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #19 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #20 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #21 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #22 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #23 0x00007fe0755ed1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #24 0x00007fe0755ed28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #25 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>
<details>
<summary>LLVM.CodeGen/LoongArch/branch-relaxation.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 -mattr=-32s,+d --verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/branch-relaxation.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/LoongArch/branch-relaxation.ll --check-prefix=LA32R
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --mtriple=loongarch32 -mattr=-32s,+d --verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=loongarch32 -mattr=-32s,+d --verify-machineinstrs
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@relax_b28'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007d208dde3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007d208de3cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007d208dde327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007d208ddc68ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007d208ddc681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007d208ddd9517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005dc6f18 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/Register.h:132:64
# | #11 0x0000000005dc6f18 llvm::LoongArchInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp:681:12
# | #12 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #13 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #14 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #15 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #16 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #17 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #18 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #19 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #20 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #21 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #22 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #23 0x00007d208ddc81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #24 0x00007d208ddc828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #25 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/LoongArch/branch-relaxation.ll --check-prefix=LA32R
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/LoongArch/branch-relaxation.ll --check-prefix=LA32R
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -verify-machineinstrs -amdgpu-s-branch-bits=5 -stop-after=branch-relaxation  /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -verify-machineinstrs -amdgpu-s-branch-bits=5 -stop-after=branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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 -verify-machineinstrs -amdgpu-s-branch-bits=5 -stop-after=branch-relaxation /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll -o -
# | 1.	Running pass 'CallGraph Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll'.
# | 2.	Running pass 'Branch relaxation pass' on function '@long_branch_used_all_sgprs'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007b34784cb330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007b3478524b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007b34784cb27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007b34784ae8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007b34784ae81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007b34784c1517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000005820b5c llvm::SIInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:3099:16
# | #11 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #12 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #13 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #14 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #15 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #16 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #17 0x0000000006c62975 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #18 0x0000000006c62975 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #19 0x0000000006c62975 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #20 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #21 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #22 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #23 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #24 0x00007b34784b01ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #25 0x00007b34784b028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #26 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/long-branch-reg-all-sgpr-used.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/branch-relaxation-rv32.ll</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -verify-machineinstrs -filetype=obj -o /dev/null
# .---command stdout------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=riscv32 -verify-machineinstrs -filetype=obj -o /dev/null
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@relax_jal'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007b2f575d1330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007b2f5762ab2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007b2f575d127e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007b2f575b48ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007b2f575b481b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007b2f575c7517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000006111af8 isValid /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/Register.h:112:47
# | #11 0x0000000006111af8 llvm::RISCVInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:1527:14
# | #12 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #13 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #14 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #15 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #16 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #17 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #18 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #19 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #20 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #21 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #22 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #23 0x00007b2f575b61ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #24 0x00007b2f575b628b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #25 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/branch-relaxation-rv32e.ll</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+e -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv32e.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+e -verify-machineinstrs -filetype=obj -o /dev/null
# .---command stdout------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=riscv32 -mattr=+e -verify-machineinstrs -filetype=obj -o /dev/null
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@relax_jal'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007fb18fa90330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007fb18fae9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007fb18fa9027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007fb18fa738ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007fb18fa7381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007fb18fa86517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000006111af8 isValid /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/Register.h:112:47
# | #11 0x0000000006111af8 llvm::RISCVInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:1527:14
# | #12 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #13 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #14 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #15 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #16 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #17 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #18 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #19 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #20 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #21 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #22 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #23 0x00007fb18fa751ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #24 0x00007fb18fa7528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #25 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/branch-relaxation-rv64.ll</summary>

```
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/branch-relaxation-rv64.ll    -o /dev/null 2>&1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -verify-machineinstrs -filetype=obj -o /dev/null
# .---command stdout------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=riscv64 -verify-machineinstrs -filetype=obj -o /dev/null
# | 1.	Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Branch relaxation pass' on function '@relax_jal'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007da2b0398330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007da2b03f1b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007da2b039827e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007da2b037b8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007da2b037b81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007da2b038e517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x0000000006111af8 isValid /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/Register.h:112:47
# | #11 0x0000000006111af8 llvm::RISCVInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:1527:14
# | #12 0x0000000006fb48ae fixupUnconditionalBranch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:623:8
# | #13 0x0000000006fb48ae (anonymous namespace)::BranchRelaxation::relaxBranchInstructions() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:719:11
# | #14 0x0000000006fb374a (anonymous namespace)::BranchRelaxation::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:0:10
# | #15 0x0000000006fb412a (anonymous namespace)::BranchRelaxationLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/BranchRelaxation.cpp:132:31
# | #16 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #17 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #18 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #19 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #20 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #21 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #22 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #23 0x00007da2b037d1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #24 0x00007da2b037d28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #25 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/scavenger.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=i386-- -run-pass scavenger-test -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/scavenger.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/scavenger.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=i386-- -run-pass scavenger-test -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/scavenger.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168: reference llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, false, false>::operator*() const [OptionsT = llvm::ilist_detail::node_options<llvm::MachineInstr, true, true, void, false, void>, IsReverse = false, IsConst = false]: Assertion `!NodePtr->isKnownSentinel()' failed.
# | 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=i386-- -run-pass scavenger-test -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/scavenger.mir
# | 1.	Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/scavenger.mir'.
# | 2.	Running pass 'Scavenge virtual registers inside basic blocks' on function '@func3'
# |  #0 0x00000000084f9f78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# |  #1 0x00000000084f6f25 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x00000000084fad91 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# |  #3 0x00007f2b9719c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00007f2b971f5b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x00007f2b9719c27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x00007f2b9717f8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x00007f2b9717f81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x00007f2b97192517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000000007442e68 llvm::RegScavenger::scavengeRegisterBackwards(llvm::TargetRegisterClass const&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, bool, int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:0:0
# | #10 0x000000000744424e scavengeVReg(llvm::MachineRegisterInfo&, llvm::RegScavenger&, llvm::Register, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:402:22
# | #11 0x0000000007443de8 isSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:44:36
# | #12 0x0000000007443de8 isKnownSentinel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:45:41
# | #13 0x0000000007443de8 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:168:22
# | #14 0x0000000007443de8 operator* /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:178:40
# | #15 0x0000000007443de8 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h:179:40
# | #16 0x0000000007443de8 scavengeFrameVirtualRegsInBlock(llvm::MachineRegisterInfo&, llvm::RegScavenger&, llvm::MachineBasicBlock&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:467:9
# | #17 0x000000000744389a llvm::scavengeFrameVirtualRegs(llvm::MachineFunction&, llvm::RegScavenger&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:501:9
# | #18 0x000000000744450c begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #19 0x000000000744450c end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #20 0x000000000744450c ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #21 0x000000000744450c ~BitVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:101:7
# | #22 0x000000000744450c (anonymous namespace)::ScavengerTest::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/RegisterScavenging.cpp:541:3
# | #23 0x00000000071bdb13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #24 0x000000000772c3a8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #25 0x0000000007733e52 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #26 0x000000000772ce1b runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #27 0x000000000772ce1b llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #28 0x0000000004f26efc compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, 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:871:17
# | #29 0x0000000004f241c3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #30 0x00007f2b971811ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #31 0x00007f2b9718128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #32 0x0000000004f1fce5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f1fce5)
# `-----------------------------
# error: command failed with exit status: -6
# 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/X86/scavenger.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/scavenger.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/184814


More information about the llvm-commits mailing list