[llvm] [WIP][Don't merge] New tests for uncovered cases in SIInstrInfo.cpp (PR #200414)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 8 07:23:05 PDT 2026
ambergorzynski wrote:
The test results showing that our new test is the only one that fails when the aborts are present in the code.
> # 🐧 Linux x64 Test Results
> * 174878 tests passed
> * 3399 tests skipped
> * 1 test failed
>
> ## Failed Tests
> (click on a test name to see its output)
>
> ### LLVM
> LLVM.CodeGen/AMDGPU/fcmp-vector-f32.ll
> ```
> 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=gfx1201 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fcmp-vector-f32.ll | /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/fcmp-vector-f32.ll
> # executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1201
> # .---command stderr------------
> # | 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=gfx1201
> # | 1. Running pass 'CallGraph Pass Manager' on module '<stdin>'.
> # | 2. Running pass 'SI Fix SGPR copies' on function '@siinstrinfo_vector_f32_ole'
> # | #0 0x00000000087e6688 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 0x00000000087e35f1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
> # | #2 0x00000000087e74a1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
> # | #3 0x00007b77121ce330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
> # | #4 0x00007b7712227b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
> # | #5 0x00007b77121ce27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
> # | #6 0x00007b77121b18ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
> # | #7 0x0000000005aed249 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5aed249)
> # | #8 0x0000000005af2ddd llvm::SIInstrInfo::moveToVALUImpl(llvm::SIInstrWorklist&, llvm::MachineDominatorTree*, llvm::MachineInstr&, llvm::DenseMap<llvm::MachineInstr*, llvm::V2PhysSCopyInfo, llvm::DenseMapInfo<llvm::MachineInstr*, void>, llvm::detail::DenseMapPair<llvm::MachineInstr*, llvm::V2PhysSCopyInfo>>&, llvm::DenseMap<llvm::MachineInstr*, bool, llvm::DenseMapInfo<llvm::MachineInstr*, void>, llvm::detail::DenseMapPair<llvm::MachineInstr*, bool>>&) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:8036:24
> # | #9 0x0000000005af29eb empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
> # | #10 0x0000000005af29eb empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SetVector.h:100:53
> # | #11 0x0000000005af29eb empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.h:82:41
> # | #12 0x0000000005af29eb llvm::SIInstrInfo::moveToVALU(llvm::SIInstrWorklist&, llvm::MachineDominatorTree*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:7920:20
> # | #13 0x0000000005a89c0a incrementEpoch /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/EpochTracker.h:45:27
> # | #14 0x0000000005a89c0a clear /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:126:5
> # | #15 0x0000000005a89c0a clear /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:98:25
> # | #16 0x0000000005a89c0a clear /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SetVector.h:268:10
> # | #17 0x0000000005a89c0a clear /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIInstrInfo.h:85:15
> # | #18 0x0000000005a89c0a lowerVGPR2SGPRCopies /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp:1105:10
> # | #19 0x0000000005a89c0a (anonymous namespace)::SIFixSGPRCopies::run(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp:783:3
> # | #20 0x0000000005a8e451 (anonymous namespace)::SIFixSGPRCopiesLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp:174:17
> # | #21 0x000000000748f4c3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
> # | #22 0x00000000079fa808 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
> # | #23 0x0000000006f40065 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:180:25
> # | #24 0x0000000006f40065 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:468:9
> # | #25 0x0000000006f40065 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:533:18
> # | #26 0x00000000079fb2fb runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1505:27
> # | #27 0x00000000079fb2fb llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
> # | #28 0x000000000517864e 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:882:17
> # | #29 0x0000000005175593 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:460:13
> # | #30 0x00007b77121b31ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
> # | #31 0x00007b77121b328b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
> # | #32 0x0000000005171165 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x5171165)
> # `-----------------------------
> # 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/fcmp-vector-f32.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=CHECK /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fcmp-vector-f32.ll
> # `-----------------------------
> # error: command failed with exit status: 2
>
> --
> ```
>
> 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/200414
More information about the llvm-commits
mailing list