[llvm] [AMDGPU] Multi dword spilling for unaligned tuples (PR #183701)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 8 21:52:23 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 170861 tests passed
* 3019 tests skipped
* 14 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/accvgpr-spill-scc-clobber.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=gfx908 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir -o - | /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-spill-scc-clobber.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstrInfo.h:91: const MCInstrDesc &llvm::MCInstrInfo::get(unsigned int) const: Assertion `Opcode < NumOpcodes && "Invalid opcode!"' 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=gfx908 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir -o -
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@agpr64_restore_clobber_scc'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007c04e4ff3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007c04e504cb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007c04e4ff327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007c04e4fd68ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007c04e4fd681b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007c04e4fe9517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593edfb getSubRegFromChannel /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:560:3
# | #10 0x000000000593edfb 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:0
# | #11 0x0000000005943db3 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:2617:7
# | #12 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #13 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #14 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #15 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #16 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #17 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #18 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #19 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #20 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #21 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #22 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #23 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #24 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #25 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #27 0x00007c04e4fd81ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #28 0x00007c04e4fd828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #29 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# 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-spill-scc-clobber.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-spill-scc-clobber.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/agpr-copy-no-free-registers.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=gfx908 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll | /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/agpr-copy-no-free-registers.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:301: const_reference llvm::SmallVectorTemplateCommon<unsigned short>::operator[](size_type) const [T = unsigned short]: Assertion `idx < size()' 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=gfx908
# | 1. Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@no_free_vgprs_at_agpr_to_agpr_copy'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x0000795100e9a330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x0000795100ef3b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x0000795100e9a27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x0000795100e7d8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000795100e7d81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x0000795100e90517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593fd9f get /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstrInfo.h:91:5
# | #10 0x000000000593fd9f spillVGPRtoAGPR(llvm::GCNSubtarget const&, llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, unsigned int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:0
# | #11 0x000000000593d975 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:18
# | #12 0x0000000005943db3 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:2617:7
# | #13 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #14 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #15 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #16 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #17 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #18 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #19 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #20 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #21 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #22 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #23 0x0000000006c6f6d5 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #24 0x0000000006c6f6d5 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #25 0x0000000006c6f6d5 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #26 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #27 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #28 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #30 0x0000795100e7f1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #31 0x0000795100e7f28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #32 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# 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/agpr-copy-no-free-registers.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=GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/agpr-copy-reuse-writes.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=prologepilog,postrapseudos -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/agpr-copy-reuse-writes.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/agpr-copy-reuse-writes.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -run-pass=prologepilog,postrapseudos -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/agpr-copy-reuse-writes.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:301: const_reference llvm::SmallVectorTemplateCommon<unsigned short>::operator[](size_type) const [T = unsigned short]: Assertion `idx < size()' 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=prologepilog,postrapseudos -verify-machineinstrs -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/agpr-copy-reuse-writes.mir
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/agpr-copy-reuse-writes.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@src_is_spill'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007d37c99ae330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d37c9a07b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d37c99ae27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d37c99918ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d37c999181b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d37c99a4517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593fd9f get /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstrInfo.h:91:5
# | #10 0x000000000593fd9f spillVGPRtoAGPR(llvm::GCNSubtarget const&, llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, unsigned int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:0
# | #11 0x000000000593d975 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:18
# | #12 0x00000000059448fc 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:2529:7
# | #13 0x00000000057f5661 set /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:377:16
# | #14 0x00000000057f5661 llvm::SIFrameLowering::processFunctionBeforeFrameFinalized(llvm::MachineFunction&, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:1496:22
# | #15 0x000000000739f532 getSubtarget /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:776:60
# | #16 0x000000000739f532 calculateFrameObjectOffsets /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:860:40
# | #17 0x000000000739f532 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:250:3
# | #18 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #19 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #20 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #21 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #22 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #23 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #24 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #25 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #26 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #27 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #28 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #30 0x00007d37c99931ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #31 0x00007d37c999328b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #32 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# 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/agpr-copy-reuse-writes.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/agpr-copy-reuse-writes.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.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=gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.mir -o - -run-pass prologepilog -verify-machineinstrs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908-PEI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.mir -o - -run-pass prologepilog -verify-machineinstrs
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1853: void llvm::SIRegisterInfo::buildSpillLoadStore(MachineBasicBlock &, MachineBasicBlock::iterator, const DebugLoc &, unsigned int, int, Register, bool, MCRegister, int64_t, MachineMemOperand *, RegScavenger *, LiveRegUnits *) const: Assertion `IsFlat && EltSize > 4' 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=gfx908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.mir -o - -run-pass prologepilog -verify-machineinstrs
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@agpr-spill-to-vgpr-to-stack-machine-cp'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007cfa99366330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007cfa993bfb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007cfa9936627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007cfa993498ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007cfa9934981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007cfa9935c517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593eed4 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:1865:7
# | #10 0x00000000059448fc 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:2529:7
# | #11 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #12 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #13 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #14 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #15 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #16 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #17 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #18 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #19 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #20 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #21 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #22 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #23 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #24 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #26 0x00007cfa9934b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #27 0x00007cfa9934b28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #28 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908-PEI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.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-PEI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/av-spill-expansion-with-machine-cp.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/copy-vgpr-clobber-spill-vgpr.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 -verify-machineinstrs -start-before=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copy-vgpr-clobber-spill-vgpr.mir -o - | /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/copy-vgpr-clobber-spill-vgpr.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -verify-machineinstrs -start-before=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copy-vgpr-clobber-spill-vgpr.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:301: const_reference llvm::SmallVectorTemplateCommon<unsigned short>::operator[](size_type) const [T = unsigned short]: Assertion `idx < size()' 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 -verify-machineinstrs -start-before=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copy-vgpr-clobber-spill-vgpr.mir -o -
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/copy-vgpr-clobber-spill-vgpr.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@test_spill'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007d6bf64c6330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d6bf651fb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d6bf64c627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d6bf64a98ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d6bf64a981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d6bf64bc517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593fd9f get /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstrInfo.h:91:5
# | #10 0x000000000593fd9f spillVGPRtoAGPR(llvm::GCNSubtarget const&, llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, unsigned int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:0
# | #11 0x000000000593d975 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:18
# | #12 0x00000000059448fc 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:2529:7
# | #13 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #14 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #15 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #16 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #17 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #18 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #19 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #20 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #21 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #22 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #23 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #24 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #25 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #26 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #28 0x00007d6bf64ab1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #29 0x00007d6bf64ab28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #30 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# 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/copy-vgpr-clobber-spill-vgpr.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/copy-vgpr-clobber-spill-vgpr.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/pei-build-av-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-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -amdgpu-spill-vgpr-to-agpr=0 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -amdgpu-spill-vgpr-to-agpr=0 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1865: void llvm::SIRegisterInfo::buildSpillLoadStore(MachineBasicBlock &, MachineBasicBlock::iterator, const DebugLoc &, unsigned int, int, Register, bool, MCRegister, int64_t, MachineMemOperand *, RegScavenger *, LiveRegUnits *) const: Assertion `EltSize == 4' 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=gfx908 -verify-machineinstrs -amdgpu-spill-vgpr-to-agpr=0 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@test_spill_av_a2'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x0000796c7e2b9330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x0000796c7e312b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x0000796c7e2b927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x0000796c7e29c8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000796c7e29c81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x0000796c7e2af517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593eef3 operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:469:5
# | #10 0x000000000593eef3 test /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:481:12
# | #11 0x000000000593eef3 isReserved /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:975:30
# | #12 0x000000000593eef3 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:0
# | #13 0x0000000005943db3 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:2617:7
# | #14 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #15 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #16 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #17 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #18 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #19 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #20 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #21 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #22 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #23 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #24 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #25 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #26 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #27 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #29 0x0000796c7e29e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #30 0x0000796c7e29e28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #31 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-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=MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/pei-build-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=gfx908 -verify-machineinstrs -amdgpu-spill-vgpr-to-agpr=0 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-spill.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -verify-machineinstrs -amdgpu-spill-vgpr-to-agpr=0 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1865: void llvm::SIRegisterInfo::buildSpillLoadStore(MachineBasicBlock &, MachineBasicBlock::iterator, const DebugLoc &, unsigned int, int, Register, bool, MCRegister, int64_t, MachineMemOperand *, RegScavenger *, LiveRegUnits *) const: Assertion `EltSize == 4' 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 -verify-machineinstrs -amdgpu-spill-vgpr-to-agpr=0 -run-pass=prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-spill.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@test_spill_a2'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x0000788daf071330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x0000788daf0cab2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x0000788daf07127e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x0000788daf0548ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x0000788daf05481b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x0000788daf067517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593eef3 operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:469:5
# | #10 0x000000000593eef3 test /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:481:12
# | #11 0x000000000593eef3 isReserved /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:975:30
# | #12 0x000000000593eef3 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:0
# | #13 0x0000000005943db3 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:2617:7
# | #14 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #15 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #16 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #17 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #18 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #19 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #20 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #21 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #22 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #23 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #24 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #25 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #26 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #27 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #29 0x0000788daf0561ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #30 0x0000788daf05628b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #31 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-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=MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -vgpr-regalloc=greedy -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -vgpr-regalloc=greedy -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll:13:10: error: CHECK: expected string not found in input
# | ; CHECK: error: <unknown>:0:0: no registers from class available to allocate in function 'no_registers_from_class_available_to_allocate_asm_use'
# | ^
# | <stdin>:1:128: note: scanning from here
# | error: <unknown>:0:0: no registers from class available to allocate in function 'no_registers_from_class_available_to_allocate'
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: error: <unknown>:0:0: no registers from class available to allocate in function 'no_registers_from_class_available_to_allocate'
# | check:13 X error: no match found
# | 2: llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:560: static unsigned int llvm::SIRegisterInfo::getSubRegFromChannel(unsigned int, unsigned int): Assertion `Channel < SubRegFromChannelTable[NumRegIndex - 1].size()' failed.
# | check:13 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | check:13 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4: Stack dump:
# | check:13 ~~~~~~~~~~~~
# | 5: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -vgpr-regalloc=greedy -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll
# | check:13 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: 1. Running pass 'CallGraph Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/ran-out-of-registers-error-all-regs-reserved.ll'.
# | check:13 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll 2>/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/Output/regalloc-illegal-eviction-assert.ll.tmp.err | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll
# .---redirected output from '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/Output/regalloc-illegal-eviction-assert.ll.tmp.err'
# | error: inline assembly requires more registers than available
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:301: const_reference llvm::SmallVectorTemplateCommon<unsigned short>::operator[](size_type) const [T = unsigned short]: Assertion `idx < size()' 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 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll
# | 1. Running pass 'CallGraph Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@illegal_eviction_assert'
# | #0 0x0000000008509928 llvm::s
# | ...
# `---data was truncated--------
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll
# .---redirected output from '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/Output/regalloc-illegal-eviction-assert.ll.tmp.err'
# | error: inline assembly requires more registers than available
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:301: const_reference llvm::SmallVectorTemplateCommon<unsigned short>::operator[](size_type) const [T = unsigned short]: Assertion `idx < size()' 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 -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll
# | 1. Running pass 'CallGraph Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@illegal_eviction_assert'
# | #0 0x0000000008509928 llvm::s
# | ...
# `---data was truncated--------
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-illegal-eviction-assert.ll
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/remaining-virtual-register-operands.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -enable-misched=0 -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -enable-misched=0 -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -implicit-check-not=error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll
# note: command had no output on stdout or stderr
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/schedule-xdl-resource.ll</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -debug-only=machine-scheduler < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/schedule-xdl-resource.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/schedule-xdl-resource.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -debug-only=machine-scheduler
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/schedule-xdl-resource.ll
# note: command had no output on stdout or stderr
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/spill-agpr-partially-undef.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=gfx908 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir -o -
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1865: void llvm::SIRegisterInfo::buildSpillLoadStore(MachineBasicBlock &, MachineBasicBlock::iterator, const DebugLoc &, unsigned int, int, Register, bool, MCRegister, int64_t, MachineMemOperand *, RegScavenger *, LiveRegUnits *) const: Assertion `EltSize == 4' 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=gfx908 -verify-machineinstrs -run-pass=prologepilog /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir -o -
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@spill_a64_kill'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000079f6f1c76330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000079f6f1ccfb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x000079f6f1c7627e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x000079f6f1c598ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x000079f6f1c5981b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x000079f6f1c6c517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593eef3 operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:469:5
# | #10 0x000000000593eef3 test /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:481:12
# | #11 0x000000000593eef3 isReserved /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:975:30
# | #12 0x000000000593eef3 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:0
# | #13 0x00000000059448fc 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:2529:7
# | #14 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #15 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #16 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #17 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #18 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #19 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #20 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #21 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #22 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #23 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #24 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #25 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #26 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #27 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #29 0x000079f6f1c5b1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #30 0x000079f6f1c5b28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #31 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.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=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/spill-agpr.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=gfx908 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:1865: void llvm::SIRegisterInfo::buildSpillLoadStore(MachineBasicBlock &, MachineBasicBlock::iterator, const DebugLoc &, unsigned int, int, Register, bool, MCRegister, int64_t, MachineMemOperand *, RegScavenger *, LiveRegUnits *) const: Assertion `EltSize == 4' 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
# | 1. Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@max_6regs_used_8a'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007fc665809330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007fc665862b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007fc66580927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007fc6657ec8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007fc6657ec81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007fc6657ff517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593eef3 operator[] /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:469:5
# | #10 0x000000000593eef3 test /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:481:12
# | #11 0x000000000593eef3 isReserved /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:975:30
# | #12 0x000000000593eef3 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:0
# | #13 0x00000000059448fc 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:2529:7
# | #14 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:0:0
# | #15 0x00000000073a28d4 replaceFrameIndicesBackward /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:1369:5
# | #16 0x00000000073a28d4 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:277:7
# | #17 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #18 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #19 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #20 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #21 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #22 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #23 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #24 0x0000000006c6f6d5 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
# | #25 0x0000000006c6f6d5 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:469:9
# | #26 0x0000000006c6f6d5 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:534:18
# | #27 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #28 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #29 0x0000000004f2b93c 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
# | #30 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #31 0x00007fc6657ee1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #32 0x00007fc6657ee28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #33 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GFX908 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.ll:364:17: error: GFX908-LABEL: expected string not found in input
# | ; GFX908-LABEL: max_6regs_used_8a:
# | ^
# | <stdin>:200:19: note: scanning from here
# | max_32regs_mfma32: ; @max_32regs_mfma32
# | ^
# | <stdin>:200:23: note: possible intended match here
# | max_32regs_mfma32: ; @max_32regs_mfma32
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 195: .long 0
# | 196: .text
# | 197: .globl max_32regs_mfma32 ; -- Begin function max_32regs_mfma32
# | 198: .p2align 8
# | 199: .type max_32regs_mfma32, at function
# | 200: max_32regs_mfma32: ; @max_32regs_mfma32
# | label:364'0 X~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | label:364'1 ? possible intended match
# | 201: ; %bb.0: ; %bb
# | label:364'0 ~~~~~~~~~~~~~~~
# | 202: v_mov_b32_e32 v1, 0x40400000
# | label:364'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 203: v_mov_b32_e32 v2, 0x40c00000
# | label:364'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 204: v_mov_b32_e32 v3, 0x40e00000
# | label:364'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 205: v_accvgpr_write_b32 a2, v1
# | label:364'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/spill-agpr.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=regallocfast -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908-SPILLED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -run-pass=regallocfast -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.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=GFX908-SPILLED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.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 -mtriple=amdgcn -mcpu=gfx908 -passes=regallocfast -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908-SPILLED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -passes=regallocfast -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.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=GFX908-SPILLED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir
# 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=gfx908 -run-pass=regallocfast,prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908-EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx908 -run-pass=regallocfast,prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir
# .---command stderr------------
# | llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:301: const_reference llvm::SmallVectorTemplateCommon<unsigned short>::operator[](size_type) const [T = unsigned short]: Assertion `idx < size()' 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=regallocfast,prologepilog -o - /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir
# | 1. Running pass 'Function Pass Manager' on module '/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.mir'.
# | 2. Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@spill_restore_agpr64'
# | #0 0x0000000008509928 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 0x00000000085068d5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000850a741 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000078550a270330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000078550a2c9b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x000078550a27027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x000078550a2538ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x000078550a25381b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x000078550a266517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000593fd9f get /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/MC/MCInstrInfo.h:91:5
# | #10 0x000000000593fd9f spillVGPRtoAGPR(llvm::GCNSubtarget const&, llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, int, unsigned int, unsigned int, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:0:0
# | #11 0x000000000593d975 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:18
# | #12 0x00000000059448fc 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:2529:7
# | #13 0x00000000057f5661 set /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/BitVector.h:377:16
# | #14 0x00000000057f5661 llvm::SIFrameLowering::processFunctionBeforeFrameFinalized(llvm::MachineFunction&, llvm::RegScavenger*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:1496:22
# | #15 0x000000000739f532 getSubtarget /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/CodeGen/MachineFunction.h:776:60
# | #16 0x000000000739f532 calculateFrameObjectOffsets /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:860:40
# | #17 0x000000000739f532 (anonymous namespace)::PEIImpl::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:250:3
# | #18 0x00000000073a43f7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:273:45
# | #19 0x00000000073a43f7 end /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:275:27
# | #20 0x00000000073a43f7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1211:46
# | #21 0x00000000073a43f7 ~PEIImpl /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:80:7
# | #22 0x00000000073a43f7 (anonymous namespace)::PEILegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:357:3
# | #23 0x00000000071caa13 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #24 0x0000000007738d38 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #25 0x00000000077407e2 llvm::FPPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1444:13
# | #26 0x00000000077397ab runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #27 0x00000000077397ab llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #28 0x0000000004f2b93c 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 0x0000000004f28c03 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:459:13
# | #30 0x000078550a2551ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #31 0x000078550a25528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #32 0x0000000004f24725 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4f24725)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX908-EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.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-EXPANDED /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/spill-agpr.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/183701
More information about the llvm-commits
mailing list