[llvm] [SelectionDAG][RISCV] Support STACK/PATCHPOINT in SoftenFloatOperand. (PR #165922)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 31 23:44:18 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b2` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/28024
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64 < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:3814: bool llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(SDNode *, unsigned int): Assertion `Res.getNode() != N && "Expected a new node!"' 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: /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64
# | 1. Running pass 'Function Pass Manager' on module '<stdin>'.
# | 2. Running pass 'RISC-V DAG->DAG Pattern Instruction Selection' on function '@floats'
# | #0 0x000055fbdc101178 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7fa7178)
# | #1 0x000055fbdc0fe895 llvm::sys::RunSignalHandlers() (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7fa4895)
# | #2 0x000055fbdc101ef1 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# | #3 0x00007fa6d7c5a050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
# | #4 0x00007fa6d7ca8eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
# | #5 0x00007fa6d7c59fb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
# | #6 0x00007fa6d7c44472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
# | #7 0x00007fa6d7c44395 (/lib/x86_64-linux-gnu/libc.so.6+0x26395)
# | #8 0x00007fa6d7c52ec2 (/lib/x86_64-linux-gnu/libc.so.6+0x34ec2)
# | #9 0x000055fbdbf8f0f6 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) LegalizeFloatTypes.cpp:0:0
# | #10 0x000055fbdbeed71c llvm::DAGTypeLegalizer::run() LegalizeTypes.cpp:0:0
# | #11 0x000055fbdbef2804 llvm::SelectionDAG::LegalizeTypes() (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7d98804)
# | #12 0x000055fbdbed9458 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7d7f458)
# | #13 0x000055fbdbed7f51 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7d7df51)
# | #14 0x000055fbdbed5380 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7d7b380)
# | #15 0x000055fbdbed2ca0 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7d78ca0)
# | #16 0x000055fbdb123a23 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x6fc9a23)
# | #17 0x000055fbdb68c1c5 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x75321c5)
# | #18 0x000055fbdb694052 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x753a052)
# | #19 0x000055fbdb68cc36 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x7532c36)
# | #20 0x000055fbd904fbe9 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #21 0x000055fbd904d0ad main (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x4ef30ad)
# | #22 0x00007fa6d7c4524a (/lib/x86_64-linux-gnu/libc.so.6+0x2724a)
# | #23 0x00007fa6d7c45305 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27305)
# | #24 0x000055fbd9048b61 _start (/b/ml-opt-devrel-x86-64-b1/build/bin/llc+0x4eeeb61)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# `-----------------------------
# error: command failed with exit status: 2
--
...
```
</details>
https://github.com/llvm/llvm-project/pull/165922
More information about the llvm-commits
mailing list