Skip to content

Conversation

@topperc
Copy link
Collaborator

@topperc topperc commented Oct 31, 2025

Test float/double on RISC-V without F extension.

Test float/double on RISC-V without F extension.
@topperc topperc requested review from arsenm and preames October 31, 2025 21:19
@llvmbot llvmbot added backend:RISC-V llvm:SelectionDAG SelectionDAGISel as well labels Oct 31, 2025
@llvmbot
Copy link
Member

llvmbot commented Oct 31, 2025

@llvm/pr-subscribers-llvm-selectiondag

@llvm/pr-subscribers-backend-risc-v

Author: Craig Topper (topperc)

Changes

Test float/double on RISC-V without F extension.


Full diff: https://github.com/llvm/llvm-project/pull/165922.diff

3 Files Affected:

  • (modified) llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp (+20)
  • (modified) llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h (+2)
  • (modified) llvm/test/CodeGen/RISCV/rv64-stackmap.ll (+61-3)
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
index bf1abfe50327e..58983cb57d7f6 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
@@ -1172,6 +1172,12 @@ bool DAGTypeLegalizer::SoftenFloatOperand(SDNode *N, unsigned OpNo) {
   case ISD::FAKE_USE:
     Res = SoftenFloatOp_FAKE_USE(N);
     break;
+  case ISD::STACKMAP:
+    Res = SoftenFloatOp_STACKMAP(N, OpNo);
+    break;
+  case ISD::PATCHPOINT:
+    Res = SoftenFloatOp_PATCHPOINT(N, OpNo);
+    break;
   }
 
   // If the result is null, the sub-method took care of registering results etc.
@@ -1512,6 +1518,20 @@ SDValue DAGTypeLegalizer::SoftenFloatOp_FAKE_USE(SDNode *N) {
                      N->getOperand(0), Op1);
 }
 
+SDValue DAGTypeLegalizer::SoftenFloatOp_STACKMAP(SDNode *N, unsigned OpNo) {
+  assert(OpNo > 1); // Because the first two arguments are guaranteed legal.
+  SmallVector<SDValue> NewOps(N->ops());
+  NewOps[OpNo] = GetSoftenedFloat(NewOps[OpNo]);
+  return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0);
+}
+
+SDValue DAGTypeLegalizer::SoftenFloatOp_PATCHPOINT(SDNode *N, unsigned OpNo) {
+  assert(OpNo >= 7);
+  SmallVector<SDValue> NewOps(N->ops());
+  NewOps[OpNo] = GetSoftenedFloat(NewOps[OpNo]);
+  return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0);
+}
+
 //===----------------------------------------------------------------------===//
 //  Float Result Expansion
 //===----------------------------------------------------------------------===//
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
index 9656a30321efa..ede522eff6df3 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
@@ -658,6 +658,8 @@ class LLVM_LIBRARY_VISIBILITY DAGTypeLegalizer {
   SDValue SoftenFloatOp_ATOMIC_STORE(SDNode *N, unsigned OpNo);
   SDValue SoftenFloatOp_FCOPYSIGN(SDNode *N);
   SDValue SoftenFloatOp_FAKE_USE(SDNode *N);
+  SDValue SoftenFloatOp_STACKMAP(SDNode *N, unsigned OpNo);
+  SDValue SoftenFloatOp_PATCHPOINT(SDNode *N, unsigned OpNo);
 
   //===--------------------------------------------------------------------===//
   // Float Expansion Support: LegalizeFloatTypes.cpp
diff --git a/llvm/test/CodeGen/RISCV/rv64-stackmap.ll b/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
index 9aefa90684dd3..bc88c57df1144 100644
--- a/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
+++ b/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
@@ -7,11 +7,11 @@
 ; CHECK-NEXT:   .byte   0
 ; CHECK-NEXT:   .half   0
 ; Num Functions
-; CHECK-NEXT:   .word   12
+; CHECK-NEXT:   .word   13
 ; Num LargeConstants
-; CHECK-NEXT:   .word   2
+; CHECK-NEXT:   .word   3
 ; Num Callsites
-; CHECK-NEXT:   .word   16
+; CHECK-NEXT:   .word   17
 
 ; Functions and stack size
 ; CHECK-NEXT:   .quad   constantargs
@@ -50,10 +50,14 @@
 ; CHECK-NEXT:   .quad   needsStackRealignment
 ; CHECK-NEXT:   .quad   -1
 ; CHECK-NEXT:   .quad   1
+; CHECK-NEXT:   .quad   floats
+; CHECK-NEXT:   .quad   16
+; CHECK-NEXT:   .quad   1
 
 ; Num LargeConstants
 ; CHECK-NEXT:   .quad   4294967295
 ; CHECK-NEXT:   .quad   4294967296
+; CHECK-NEXT:   .quad   4609434218613702656
 
 ; Constant arguments
 ;
@@ -379,6 +383,60 @@ define void @needsStackRealignment() {
 }
 declare void @escape_values(...)
 
+; CHECK-LABEL:  .word   .L{{.*}}-floats
+; CHECK-NEXT:   .half   0
+; Num Locations
+; CHECK-NEXT:   .half   6
+; Loc 0: constant float as constant integer
+; CHECK-NEXT:   .byte   4
+; CHECK-NEXT:   .byte   0
+; CHECK-NEXT:   .half   8
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .word
+; Loc 0: constant double as large constant integer
+; CHECK-NEXT:   .byte   5
+; CHECK-NEXT:   .byte   0
+; CHECK-NEXT:   .half   8
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .word
+; Loc 1: float value in X register
+; CHECK-NEXT:   .byte   1
+; CHECK-NEXT:   .byte   0
+; CHECK-NEXT:   .half   8
+; CHECK-NEXT:   .half   10
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .word
+; Loc 2: double value in X register
+; CHECK-NEXT:   .byte   1
+; CHECK-NEXT:   .byte   0
+; CHECK-NEXT:   .half   8
+; CHECK-NEXT:   .half   11
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .word
+; Loc 3: float on stack
+; CHECK-NEXT:   .byte   2
+; CHECK-NEXT:   .byte   0
+; CHECK-NEXT:   .half   8
+; CHECK-NEXT:   .half   2
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .word
+; Loc 4: double on stack
+; CHECK-NEXT:   .byte   2
+; CHECK-NEXT:   .byte   0
+; CHECK-NEXT:   .half   8
+; CHECK-NEXT:   .half   2
+; CHECK-NEXT:   .half   0
+; CHECK-NEXT:   .word
+define void @floats(float %f, double %g) {
+  %ff = alloca float
+  %gg = alloca double
+  call void (i64, i32, ...) @llvm.experimental.stackmap(i64 888, i32 0, float 1.25,
+    double 1.5, float %f, double %g, ptr %ff, ptr %gg)
+  ret void
+}
+
 declare void @llvm.experimental.stackmap(i64, i32, ...)
 declare void @llvm.experimental.patchpoint.void(i64, i32, ptr, i32, ...)
 declare i64 @llvm.experimental.patchpoint.i64(i64, i32, ptr, i32, ...)

@topperc topperc merged commit 02fef97 into llvm:main Nov 1, 2025
10 checks passed
@topperc topperc deleted the pr/stackmap-soften branch November 1, 2025 06:31
topperc added a commit that referenced this pull request Nov 1, 2025
…TACKMAP/PATCHPOINT. (#165927)"

This reverts commit 4357fcb.

Causes a crash when combined with #165922.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

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

Here is the relevant piece of the build log for the reference
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

--
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-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/137/builds/28212

Here is the relevant piece of the build log for the reference
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-dev-x86-64-b1/build/bin/llc -mtriple=riscv64 < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /b/ml-opt-dev-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-dev-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 0x0000558e3e355d48 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7fa0d48)
# |  #1 0x0000558e3e353465 llvm::sys::RunSignalHandlers() (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7f9e465)
# |  #2 0x0000558e3e356ac1 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #3 0x00007f4f7fe5a050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
# |  #4 0x00007f4f7fea8eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
# |  #5 0x00007f4f7fe59fb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
# |  #6 0x00007f4f7fe44472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
# |  #7 0x00007f4f7fe44395 (/lib/x86_64-linux-gnu/libc.so.6+0x26395)
# |  #8 0x00007f4f7fe52ec2 (/lib/x86_64-linux-gnu/libc.so.6+0x34ec2)
# |  #9 0x0000558e3e1e3cc6 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) LegalizeFloatTypes.cpp:0:0
# | #10 0x0000558e3e1422ec llvm::DAGTypeLegalizer::run() LegalizeTypes.cpp:0:0
# | #11 0x0000558e3e1473d4 llvm::SelectionDAG::LegalizeTypes() (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7d923d4)
# | #12 0x0000558e3e12e028 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7d79028)
# | #13 0x0000558e3e12cb21 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7d77b21)
# | #14 0x0000558e3e129f50 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7d74f50)
# | #15 0x0000558e3e127870 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7d72870)
# | #16 0x0000558e3d379823 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x6fc4823)
# | #17 0x0000558e3d8e1685 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x752c685)
# | #18 0x0000558e3d8e9512 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x7534512)
# | #19 0x0000558e3d8e20f6 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x752d0f6)
# | #20 0x0000558e3b2a59e9 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #21 0x0000558e3b2a2ead main (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x4eedead)
# | #22 0x00007f4f7fe4524a (/lib/x86_64-linux-gnu/libc.so.6+0x2724a)
# | #23 0x00007f4f7fe45305 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27305)
# | #24 0x0000558e3b29e961 _start (/b/ml-opt-dev-x86-64-b1/build/bin/llc+0x4ee9961)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-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-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# `-----------------------------
# error: command failed with exit status: 2

--
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/25728

Here is the relevant piece of the build log for the reference
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
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv64 < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:3814: bool llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::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: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/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 0x0000612b99991e32 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x412ae32)
# |  #1 0x0000612b9998eb2f llvm::sys::RunSignalHandlers() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x4127b2f)
# |  #2 0x0000612b9998ec7c SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #3 0x0000742d76a45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x0000742d76a9eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# |  #5 0x0000742d76a4527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# |  #6 0x0000742d76a288ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# |  #7 0x0000742d76a2881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# |  #8 0x0000742d76a3b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# |  #9 0x0000612b998271da (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3fc01da)
# | #10 0x0000612b99798b31 llvm::DAGTypeLegalizer::run() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3f31b31)
# | #11 0x0000612b99799d58 llvm::SelectionDAG::LegalizeTypes() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3f32d58)
# | #12 0x0000612b996fab6f llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3e93b6f)
# | #13 0x0000612b996ff1c6 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3e981c6)
# | #14 0x0000612b997007f6 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3e997f6)
# | #15 0x0000612b996ea837 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x3e83837)
# | #16 0x0000612b987a05d3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
# | #17 0x0000612b98e4789e llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x35e089e)
# | #18 0x0000612b98e47ce1 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x35e0ce1)
# | #19 0x0000612b98e48632 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x35e1632)
# | #20 0x0000612b9605d0cb compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #21 0x0000612b95f037ef main (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x69c7ef)
# | #22 0x0000742d76a2a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #23 0x0000742d76a2a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #24 0x0000612b96051525 _start (/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc+0x7ea525)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# `-----------------------------
# error: command failed with exit status: 2

--
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-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/185/builds/28043

Here is the relevant piece of the build log for the reference
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-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /b/ml-opt-rel-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-rel-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 0x000055b1ebcf0a88 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7e4ba88)
# |  #1 0x000055b1ebcee1a5 llvm::sys::RunSignalHandlers() (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7e491a5)
# |  #2 0x000055b1ebcf1801 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #3 0x00007fa5db65a050 (/lib/x86_64-linux-gnu/libc.so.6+0x3c050)
# |  #4 0x00007fa5db6a8eec (/lib/x86_64-linux-gnu/libc.so.6+0x8aeec)
# |  #5 0x00007fa5db659fb2 raise (/lib/x86_64-linux-gnu/libc.so.6+0x3bfb2)
# |  #6 0x00007fa5db644472 abort (/lib/x86_64-linux-gnu/libc.so.6+0x26472)
# |  #7 0x00007fa5db644395 (/lib/x86_64-linux-gnu/libc.so.6+0x26395)
# |  #8 0x00007fa5db652ec2 (/lib/x86_64-linux-gnu/libc.so.6+0x34ec2)
# |  #9 0x000055b1ebb7ea06 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) LegalizeFloatTypes.cpp:0:0
# | #10 0x000055b1ebadd02c llvm::DAGTypeLegalizer::run() LegalizeTypes.cpp:0:0
# | #11 0x000055b1ebae2114 llvm::SelectionDAG::LegalizeTypes() (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7c3d114)
# | #12 0x000055b1ebac8d68 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7c23d68)
# | #13 0x000055b1ebac7861 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7c22861)
# | #14 0x000055b1ebac4c90 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7c1fc90)
# | #15 0x000055b1ebac25b0 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x7c1d5b0)
# | #16 0x000055b1ead244a3 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x6e7f4a3)
# | #17 0x000055b1eb27eeb5 llvm::FPPassManager::runOnFunction(llvm::Function&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x73d9eb5)
# | #18 0x000055b1eb286d42 llvm::FPPassManager::runOnModule(llvm::Module&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x73e1d42)
# | #19 0x000055b1eb27f926 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x73da926)
# | #20 0x000055b1e8c50669 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #21 0x000055b1e8c4db2d main (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x4da8b2d)
# | #22 0x00007fa5db64524a (/lib/x86_64-linux-gnu/libc.so.6+0x2724a)
# | #23 0x00007fa5db645305 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27305)
# | #24 0x000055b1e8c495e1 _start (/b/ml-opt-rel-x86-64-b1/build/bin/llc+0x4da45e1)
# `-----------------------------
# error: command failed with exit status: -6
# executed command: /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-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-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# `-----------------------------
# error: command failed with exit status: 2

--
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-b-1 while building llvm at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/27130

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure) (timed out)
...
  Unsupported      :  1206 (2.47%)
  Passed           : 47614 (97.46%)
  Expectedly Failed:    26 (0.05%)
[1454/1456] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[1455/1456] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/wasm-ld
-- Testing: 61918 tests, 60 workers --
command timed out: 1200 seconds without output running [b'python', b'../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py', b'--jobs=64'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=2518.630338
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Step 7 (check) failure: check (failure)
...
[706/1456] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PackedVectorTest.cpp.o
[707/1456] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PointerSumTypeTest.cpp.o
[708/1456] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/PointerIntPairTest.cpp.o
[709/1456] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/LazyAtomicPointerTest.cpp.o
[710/1456] Linking CXX executable bin/yaml2obj
[710/1456] Running lld test suite
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/wasm-ld
-- Testing: 3154 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

Testing Time: 27.36s

Total Discovered Tests: 3154
  Unsupported:  574 (18.20%)
  Passed     : 2580 (81.80%)
[863/1456] Building CXX object unittests/CodeGen/CGPluginTest/CMakeFiles/CGPluginTest.dir/Plugin/CodeGenTestPass.cpp.o
[864/1456] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/wasm-ld
-- Testing: 23020 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 

Testing Time: 158.93s

Total Discovered Tests: 48854
  Skipped          :     8 (0.02%)
  Unsupported      :  1206 (2.47%)
  Passed           : 47614 (97.46%)
  Expectedly Failed:    26 (0.05%)
[1454/1456] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[1455/1456] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-qap9op8l/bin/wasm-ld
-- Testing: 61918 tests, 60 workers --

command timed out: 1200 seconds without output running [b'python', b'../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py', b'--jobs=64'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=2518.630338
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-hwasan running on sanitizer-buildbot11 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/55/builds/19439

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 92071 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/rv64-stackmap.ll (43637 of 92071)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64 < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/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: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/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 0x0000b893d328a870 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# |  #1 0x0000b893d3284c60 llvm::sys::RunSignalHandlers() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# |  #2 0x0000b893d328cc78 SignalHandler(int, siginfo_t*, void*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #3 0x0000f67484a5d9c0 (linux-vdso.so.1+0x9c0)
# |  #4 0x0000f6748438a460 (/lib/aarch64-linux-gnu/libc.so.6+0x8a460)
# |  #5 0x0000f674843376c0 raise (/lib/aarch64-linux-gnu/libc.so.6+0x376c0)
# |  #6 0x0000f67484321ac8 abort (/lib/aarch64-linux-gnu/libc.so.6+0x21ac8)
# |  #7 0x0000f674843300dc (/lib/aarch64-linux-gnu/libc.so.6+0x300dc)
# |  #8 0x0000b893d2f203d8 getValueType /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1116:20
# |  #9 0x0000b893d2f203d8 getValueType /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1272:16
# | #10 0x0000b893d2f203d8 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:3816:14
# | #11 0x0000b893d2da977c llvm::DAGTypeLegalizer::run() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:369:9
# | #12 0x0000b893d2db52c8 llvm::SelectionDAG::LegalizeTypes() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1054:34
# | #13 0x0000b893d2d733b8 ~TimeRegion /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/Support/Timer.h:168:9
# | #14 0x0000b893d2d733b8 llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:993:3
# | #15 0x0000b893d2d7097c llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1922:18
# | #16 0x0000b893d2d67c2c llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:628:7
# | #17 0x0000b893d2d607c0 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:390:20
# | #18 0x0000b893d08909b0 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #19 0x0000b893d17ca298 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #20 0x0000b893d17e0cb4 getNext /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:42:38
# | #21 0x0000b893d17e0cb4 getNext /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/ilist_node.h:108:59
# | #22 0x0000b893d17e0cb4 operator++ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:187:57
Step 11 (stage2/hwasan check) failure: stage2/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 92071 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/rv64-stackmap.ll (43637 of 92071)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64 < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/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: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/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 0x0000b893d328a870 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# |  #1 0x0000b893d3284c60 llvm::sys::RunSignalHandlers() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Signals.cpp:105:18
# |  #2 0x0000b893d328cc78 SignalHandler(int, siginfo_t*, void*) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #3 0x0000f67484a5d9c0 (linux-vdso.so.1+0x9c0)
# |  #4 0x0000f6748438a460 (/lib/aarch64-linux-gnu/libc.so.6+0x8a460)
# |  #5 0x0000f674843376c0 raise (/lib/aarch64-linux-gnu/libc.so.6+0x376c0)
# |  #6 0x0000f67484321ac8 abort (/lib/aarch64-linux-gnu/libc.so.6+0x21ac8)
# |  #7 0x0000f674843300dc (/lib/aarch64-linux-gnu/libc.so.6+0x300dc)
# |  #8 0x0000b893d2f203d8 getValueType /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1116:20
# |  #9 0x0000b893d2f203d8 getValueType /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1272:16
# | #10 0x0000b893d2f203d8 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:3816:14
# | #11 0x0000b893d2da977c llvm::DAGTypeLegalizer::run() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:369:9
# | #12 0x0000b893d2db52c8 llvm::SelectionDAG::LegalizeTypes() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1054:34
# | #13 0x0000b893d2d733b8 ~TimeRegion /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/Support/Timer.h:168:9
# | #14 0x0000b893d2d733b8 llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:993:3
# | #15 0x0000b893d2d7097c llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1922:18
# | #16 0x0000b893d2d67c2c llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:628:7
# | #17 0x0000b893d2d607c0 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:390:20
# | #18 0x0000b893d08909b0 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:0:10
# | #19 0x0000b893d17ca298 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #20 0x0000b893d17e0cb4 getNext /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:42:38
# | #21 0x0000b893d17e0cb4 getNext /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/ilist_node.h:108:59
# | #22 0x0000b893d17e0cb4 operator++ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:187:57
Step 14 (stage3/hwasan check) failure: stage3/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88626 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40..
FAIL: LLVM :: CodeGen/RISCV/rv64-stackmap.ll (43634 of 88626)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv64 < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/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: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/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 0x0000ab19e1bb1c6c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x7a41c6c)
# |  #1 0x0000ab19e1baf70c llvm::sys::RunSignalHandlers() (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x7a3f70c)
# |  #2 0x0000ab19e1bb2a84 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #3 0x0000f195e00f09c0 (linux-vdso.so.1+0x9c0)
# |  #4 0x0000f195dfada460 (/lib/aarch64-linux-gnu/libc.so.6+0x8a460)
# |  #5 0x0000f195dfa876c0 raise (/lib/aarch64-linux-gnu/libc.so.6+0x376c0)
# |  #6 0x0000f195dfa71ac8 abort (/lib/aarch64-linux-gnu/libc.so.6+0x21ac8)
# |  #7 0x0000f195dfa800dc (/lib/aarch64-linux-gnu/libc.so.6+0x300dc)
# |  #8 0x0000ab19e1a5f070 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) LegalizeFloatTypes.cpp:0:0
# |  #9 0x0000ab19e19d769c llvm::DAGTypeLegalizer::run() LegalizeTypes.cpp:0:0
# | #10 0x0000ab19e19dc0c8 llvm::SelectionDAG::LegalizeTypes() (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x786c0c8)
# | #11 0x0000ab19e19c559c llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x785559c)
# | #12 0x0000ab19e19c43d4 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x78543d4)
# | #13 0x0000ab19e19c18c4 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x78518c4)
# | #14 0x0000ab19e19bf368 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x784f368)
# | #15 0x0000ab19e0cbe0c0 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x6b4e0c0)
# | #16 0x0000ab19e12017b4 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x70917b4)
# | #17 0x0000ab19e1208e20 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x7098e20)
# | #18 0x0000ab19e12020b0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x70920b0)
# | #19 0x0000ab19dee1ce28 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #20 0x0000ab19dee1aa64 main (/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc+0x4caaa64)
# | #21 0x0000f195dfa722dc (/lib/aarch64-linux-gnu/libc.so.6+0x222dc)
# | #22 0x0000f195dfa723bc __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x223bc)

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 1, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-ubsan running on sanitizer-buildbot10 while building llvm at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/85/builds/15173

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 92072 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/rv64-stackmap.ll (43647 of 92072)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64 < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/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: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/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 0x0000aeb7ba047984 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# |  #1 0x0000aeb7ba044974 __cxx_atomic_store<CallbackAndCookie::Status> /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_install_ubsan/include/c++/v1/__atomic/support/c11.h:68:3
# |  #2 0x0000aeb7ba044974 store /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_install_ubsan/include/c++/v1/__atomic/atomic.h:63:5
# |  #3 0x0000aeb7ba044974 llvm::sys::RunSignalHandlers() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Support/Signals.cpp:106:16
# |  #4 0x0000aeb7ba048d34 SignalHandler(int, siginfo_t*, void*) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #5 0x0000e7cdca8439c0 (linux-vdso.so.1+0x9c0)
# |  #6 0x0000e7cdca20a460 (/lib/aarch64-linux-gnu/libc.so.6+0x8a460)
# |  #7 0x0000e7cdca1b76c0 raise (/lib/aarch64-linux-gnu/libc.so.6+0x376c0)
# |  #8 0x0000e7cdca1a1ac8 abort (/lib/aarch64-linux-gnu/libc.so.6+0x21ac8)
# |  #9 0x0000e7cdca1b00dc (/lib/aarch64-linux-gnu/libc.so.6+0x300dc)
# | #10 0x0000aeb7b9e8da34 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:3814:3
# | #11 0x0000aeb7b9dcfcfc llvm::DAGTypeLegalizer::run() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:369:9
# | #12 0x0000aeb7b9dd5acc llvm::SelectionDAG::LegalizeTypes() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1054:34
# | #13 0x0000aeb7b9db14f4 ~TimeRegion /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/Support/Timer.h:168:9
# | #14 0x0000aeb7b9db14f4 llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:993:3
# | #15 0x0000aeb7b9daf278 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:0:7
# | #16 0x0000aeb7b9dab858 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:628:7
# | #17 0x0000aeb7b9da906c llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:390:20
# | #18 0x0000aeb7b8bc4f28 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:108:10
# | #19 0x0000aeb7b933e0b8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #20 0x0000aeb7b9347388 getNext /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:42:38
# | #21 0x0000aeb7b9347388 getNext /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ilist_node.h:108:59
# | #22 0x0000aeb7b9347388 operator++ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:187:57
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 92072 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/rv64-stackmap.ll (43647 of 92072)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64 < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/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: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build_ubsan/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 0x0000aeb7ba047984 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:834:13
# |  #1 0x0000aeb7ba044974 __cxx_atomic_store<CallbackAndCookie::Status> /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_install_ubsan/include/c++/v1/__atomic/support/c11.h:68:3
# |  #2 0x0000aeb7ba044974 store /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_install_ubsan/include/c++/v1/__atomic/atomic.h:63:5
# |  #3 0x0000aeb7ba044974 llvm::sys::RunSignalHandlers() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Support/Signals.cpp:106:16
# |  #4 0x0000aeb7ba048d34 SignalHandler(int, siginfo_t*, void*) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/Support/Unix/Signals.inc:426:38
# |  #5 0x0000e7cdca8439c0 (linux-vdso.so.1+0x9c0)
# |  #6 0x0000e7cdca20a460 (/lib/aarch64-linux-gnu/libc.so.6+0x8a460)
# |  #7 0x0000e7cdca1b76c0 raise (/lib/aarch64-linux-gnu/libc.so.6+0x376c0)
# |  #8 0x0000e7cdca1a1ac8 abort (/lib/aarch64-linux-gnu/libc.so.6+0x21ac8)
# |  #9 0x0000e7cdca1b00dc (/lib/aarch64-linux-gnu/libc.so.6+0x300dc)
# | #10 0x0000aeb7b9e8da34 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp:3814:3
# | #11 0x0000aeb7b9dcfcfc llvm::DAGTypeLegalizer::run() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:369:9
# | #12 0x0000aeb7b9dd5acc llvm::SelectionDAG::LegalizeTypes() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:1054:34
# | #13 0x0000aeb7b9db14f4 ~TimeRegion /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/Support/Timer.h:168:9
# | #14 0x0000aeb7b9db14f4 llvm::SelectionDAGISel::CodeGenAndEmitDAG() /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:993:3
# | #15 0x0000aeb7b9daf278 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:0:7
# | #16 0x0000aeb7b9dab858 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:628:7
# | #17 0x0000aeb7b9da906c llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:390:20
# | #18 0x0000aeb7b8bc4f28 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:108:10
# | #19 0x0000aeb7b933e0b8 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:0:27
# | #20 0x0000aeb7b9347388 getNext /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ilist_node_base.h:42:38
# | #21 0x0000aeb7b9347388 getNext /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ilist_node.h:108:59
# | #22 0x0000aeb7b9347388 operator++ /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:187:57
Step 14 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:531: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88626 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40..
FAIL: LLVM :: CodeGen/RISCV/rv64-stackmap.ll (43626 of 88626)
******************** TEST 'LLVM :: CodeGen/RISCV/rv64-stackmap.ll' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv64 < /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll | /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/rv64-stackmap.ll
# executed command: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv64
# .---command stderr------------
# | llc: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/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: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/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 0x0000b6dd7434116c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x7a4116c)
# |  #1 0x0000b6dd7433ec0c llvm::sys::RunSignalHandlers() (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x7a3ec0c)
# |  #2 0x0000b6dd74341f84 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
# |  #3 0x0000f0c950a159c0 (linux-vdso.so.1+0x9c0)
# |  #4 0x0000f0c9503fa460 (/lib/aarch64-linux-gnu/libc.so.6+0x8a460)
# |  #5 0x0000f0c9503a76c0 raise (/lib/aarch64-linux-gnu/libc.so.6+0x376c0)
# |  #6 0x0000f0c950391ac8 abort (/lib/aarch64-linux-gnu/libc.so.6+0x21ac8)
# |  #7 0x0000f0c9503a00dc (/lib/aarch64-linux-gnu/libc.so.6+0x300dc)
# |  #8 0x0000b6dd741ee570 llvm::DAGTypeLegalizer::SoftPromoteHalfOperand(llvm::SDNode*, unsigned int) LegalizeFloatTypes.cpp:0:0
# |  #9 0x0000b6dd74166b9c llvm::DAGTypeLegalizer::run() LegalizeTypes.cpp:0:0
# | #10 0x0000b6dd7416b5c8 llvm::SelectionDAG::LegalizeTypes() (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x786b5c8)
# | #11 0x0000b6dd74154a9c llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x7854a9c)
# | #12 0x0000b6dd741538d4 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x78538d4)
# | #13 0x0000b6dd74150dc4 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x7850dc4)
# | #14 0x0000b6dd7414e868 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x784e868)
# | #15 0x0000b6dd7344d5c0 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x6b4d5c0)
# | #16 0x0000b6dd73990cb4 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x7090cb4)
# | #17 0x0000b6dd73998320 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x7098320)
# | #18 0x0000b6dd739915b0 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x70915b0)
# | #19 0x0000b6dd715ac328 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
# | #20 0x0000b6dd715a9f64 main (/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc+0x4ca9f64)
# | #21 0x0000f0c9503922dc (/lib/aarch64-linux-gnu/libc.so.6+0x222dc)
# | #22 0x0000f0c9503923bc __libc_start_main (/lib/aarch64-linux-gnu/libc.so.6+0x223bc)

DEBADRIBASAK pushed a commit to DEBADRIBASAK/llvm-project that referenced this pull request Nov 3, 2025
…llvm#165922)

Test float/double/half/bfloat on RISC-V without F extension.
DEBADRIBASAK pushed a commit to DEBADRIBASAK/llvm-project that referenced this pull request Nov 3, 2025
…TACKMAP/PATCHPOINT. (llvm#165927)"

This reverts commit 4357fcb.

Causes a crash when combined with llvm#165922.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:RISC-V llvm:SelectionDAG SelectionDAGISel as well

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants