Skip to content

Conversation

@nocchijiang
Copy link
Contributor

The lowering for HOM_Epilog did not transfer explicit register defs from the pseudo-instruction to the generated helper calls. MachineVerifier would complain if a following tail call uses one of the restored CSRs. This scenario occurs in code generated by the Swift compiler, where X20 is used to pass swiftself.

This patch fixes the issue by adding the missing defs back to the helper call as implicit defs.

…ring

The lowering for HOM_Epilog did not transfer explicit register defs from the
pseudo-instruction to the generated helper calls. MachineVerifier would
complain if a following tail call uses one of the restored CSRs. This
scenario occurs in code generated by the Swift compiler, where X20 is used
to pass swiftself.

This patch fixes the issue by adding the missing defs back to the helper
call as implicit defs.
@llvmbot
Copy link
Member

llvmbot commented Dec 8, 2025

@llvm/pr-subscribers-backend-aarch64

Author: Zhaoxuan Jiang (nocchijiang)

Changes

The lowering for HOM_Epilog did not transfer explicit register defs from the pseudo-instruction to the generated helper calls. MachineVerifier would complain if a following tail call uses one of the restored CSRs. This scenario occurs in code generated by the Swift compiler, where X20 is used to pass swiftself.

This patch fixes the issue by adding the missing defs back to the helper call as implicit defs.


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

2 Files Affected:

  • (modified) llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp (+17-10)
  • (added) llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir (+28)
diff --git a/llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp b/llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
index 03dd1cd702d17..d69f12e7c0a7c 100644
--- a/llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
+++ b/llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
@@ -483,16 +483,17 @@ bool AArch64LowerHomogeneousPE::lowerEpilog(
   assert(MI.getOpcode() == AArch64::HOM_Epilog);
 
   auto Return = NextMBBI;
+  MachineInstr *HelperCall = nullptr;
   if (shouldUseFrameHelper(MBB, NextMBBI, Regs, FrameHelperType::EpilogTail)) {
     // When MBB ends with a return, emit a tail-call to the epilog helper
     auto *EpilogTailHelper =
         getOrCreateFrameHelper(M, MMI, Regs, FrameHelperType::EpilogTail);
-    BuildMI(MBB, MBBI, DL, TII->get(AArch64::TCRETURNdi))
-        .addGlobalAddress(EpilogTailHelper)
-        .addImm(0)
-        .setMIFlag(MachineInstr::FrameDestroy)
-        .copyImplicitOps(MI)
-        .copyImplicitOps(*Return);
+    HelperCall = BuildMI(MBB, MBBI, DL, TII->get(AArch64::TCRETURNdi))
+                     .addGlobalAddress(EpilogTailHelper)
+                     .addImm(0)
+                     .setMIFlag(MachineInstr::FrameDestroy)
+                     .copyImplicitOps(MI)
+                     .copyImplicitOps(*Return);
     NextMBBI = std::next(Return);
     Return->removeFromParent();
   } else if (shouldUseFrameHelper(MBB, NextMBBI, Regs,
@@ -500,10 +501,10 @@ bool AArch64LowerHomogeneousPE::lowerEpilog(
     // The default epilog helper case.
     auto *EpilogHelper =
         getOrCreateFrameHelper(M, MMI, Regs, FrameHelperType::Epilog);
-    BuildMI(MBB, MBBI, DL, TII->get(AArch64::BL))
-        .addGlobalAddress(EpilogHelper)
-        .setMIFlag(MachineInstr::FrameDestroy)
-        .copyImplicitOps(MI);
+    HelperCall = BuildMI(MBB, MBBI, DL, TII->get(AArch64::BL))
+                     .addGlobalAddress(EpilogHelper)
+                     .setMIFlag(MachineInstr::FrameDestroy)
+                     .copyImplicitOps(MI);
   } else {
     // Fall back to no-helper.
     for (int I = 0; I < Size - 2; I += 2)
@@ -512,6 +513,12 @@ bool AArch64LowerHomogeneousPE::lowerEpilog(
     emitLoad(MF, MBB, MBBI, *TII, Regs[Size - 2], Regs[Size - 1], Size, true);
   }
 
+  // Make sure all explicit definitions are preserved in the helper call;
+  // implicit ones are already handled by copyImplicitOps.
+  if (HelperCall)
+    for (auto &Def : MBBI->defs())
+      HelperCall->addRegisterDefined(Def.getReg(),
+                                     MF.getRegInfo().getTargetRegisterInfo());
   MBBI->removeFromParent();
   return true;
 }
diff --git a/llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir b/llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir
new file mode 100644
index 0000000000000..8a09df4693118
--- /dev/null
+++ b/llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir
@@ -0,0 +1,28 @@
+# RUN: llc -verify-machineinstrs -mtriple=arm64-applie-ios7.0 -start-before=aarch64-lower-homogeneous-prolog-epilog -homogeneous-prolog-epilog %s
+#
+# This test ensures defined registers are preserved after lowering homogeneous
+# epilog into helper calls. Without the fix, the verifier would complain about
+# X20 being used by use_x20 without being defined.
+--- |
+  define void @foo() {
+  entry:
+    ret void
+  }
+  declare void @use_x20()
+...
+---
+name:            foo
+alignment:       4
+tracksRegLiveness: true
+liveins:
+  - { reg: '$x0' }
+  - { reg: '$x20' }
+body:             |
+  bb.0:
+    liveins: $x0, $x20, $lr, $x19, $x20
+    frame-setup HOM_Prolog $lr, $fp, $x19, $x20, 16
+    $sp = frame-setup SUBXri $sp, 32, 0
+  bb.1:
+    $sp = frame-destroy ADDXri $sp, 32, 0
+    $lr, $fp, $x19, $x20 = frame-destroy HOM_Epilog
+    TCRETURNdi @use_x20, 0, csr_aarch64_aapcs, implicit $sp, implicit $x20

@nocchijiang
Copy link
Contributor Author

@kyulee-com

@kyulee-com kyulee-com self-requested a review December 9, 2025 03:28
@kyulee-com
Copy link
Contributor

Thanks for the fix!

@kyulee-com kyulee-com merged commit 898963b into llvm:main Dec 9, 2025
12 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 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/21168

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:564: 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:564: 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:564: 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:564: 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:564: 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:564: 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: 89541 tests, 72 workers --
Testing:  0.. 10.. 20..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (26693 of 89541)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.29s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
11.86s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
11.50s: Clang :: Modules/fmodules-validate-once-per-build-session.c
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.08s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
8.22s: Clang :: CodeGen/X86/avx-builtins.c
7.91s: Clang :: CodeGen/X86/sse2-builtins.c
7.85s: Clang :: Preprocessor/riscv-target-features.c
7.81s: Clang :: OpenMP/target_update_codegen.cpp
7.59s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
7.47s: Clang :: Driver/arm-cortex-cpus-1.c
7.44s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
7.25s: Clang :: Driver/arm-cortex-cpus-2.c
6.43s: Clang :: CodeGen/X86/avx2-builtins.c
6.37s: Clang :: CodeGen/X86/avx512f-builtins.c
6.25s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
6.08s: Clang :: Preprocessor/aarch64-target-features.c
5.99s: Clang :: CodeGen/X86/rot-intrinsics.c
5.98s: Clang :: Preprocessor/arm-target-features.c
5.65s: Clang :: CodeGen/X86/avx512vlbw-reduceIntrin.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[22.0s,24.0s) :: [                                        ] :: [     1/102191]
[20.0s,22.0s) :: [                                        ] :: [     0/102191]
[18.0s,20.0s) :: [                                        ] :: [     0/102191]
[16.0s,18.0s) :: [                                        ] :: [     0/102191]
[14.0s,16.0s) :: [                                        ] :: [     0/102191]
[12.0s,14.0s) :: [                                        ] :: [     1/102191]
[10.0s,12.0s) :: [                                        ] :: [     2/102191]
[ 8.0s,10.0s) :: [                                        ] :: [     5/102191]
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:564: 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:564: 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:564: 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:564: 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:564: 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:564: 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: 89541 tests, 72 workers --
Testing:  0.. 10.. 20..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (26693 of 89541)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.29s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
11.86s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
11.50s: Clang :: Modules/fmodules-validate-once-per-build-session.c
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.08s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
8.22s: Clang :: CodeGen/X86/avx-builtins.c
7.91s: Clang :: CodeGen/X86/sse2-builtins.c
7.85s: Clang :: Preprocessor/riscv-target-features.c
7.81s: Clang :: OpenMP/target_update_codegen.cpp
7.59s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
7.47s: Clang :: Driver/arm-cortex-cpus-1.c
7.44s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
7.25s: Clang :: Driver/arm-cortex-cpus-2.c
6.43s: Clang :: CodeGen/X86/avx2-builtins.c
6.37s: Clang :: CodeGen/X86/avx512f-builtins.c
6.25s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
6.08s: Clang :: Preprocessor/aarch64-target-features.c
5.99s: Clang :: CodeGen/X86/rot-intrinsics.c
5.98s: Clang :: Preprocessor/arm-target-features.c
5.65s: Clang :: CodeGen/X86/avx512vlbw-reduceIntrin.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[22.0s,24.0s) :: [                                        ] :: [     1/102191]
[20.0s,22.0s) :: [                                        ] :: [     0/102191]
[18.0s,20.0s) :: [                                        ] :: [     0/102191]
[16.0s,18.0s) :: [                                        ] :: [     0/102191]
[14.0s,16.0s) :: [                                        ] :: [     0/102191]
[12.0s,14.0s) :: [                                        ] :: [     1/102191]
[10.0s,12.0s) :: [                                        ] :: [     2/102191]
[ 8.0s,10.0s) :: [                                        ] :: [     5/102191]

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-fast running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

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

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-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/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: 94394 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (94314 of 94394)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
254.27s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
186.63s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
110.02s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
103.89s: Clang :: CodeGen/X86/sse2-builtins.c
103.19s: Clang :: CodeGen/X86/avx-builtins.c
98.66s: Clang :: CodeGen/X86/avx2-builtins.c
97.59s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
93.02s: Clang :: CodeGen/X86/rot-intrinsics.c
91.90s: Clang :: CodeGen/X86/avx512f-builtins.c
90.98s: Clang :: CodeGen/X86/avx512vlbw-reduceIntrin.c
90.89s: Clang :: CodeGen/X86/sse41-builtins.c
90.49s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
89.92s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
89.52s: Clang :: CodeGen/X86/xop-builtins.c
89.44s: LLVM :: CodeGen/RISCV/rvv/expandload.ll
88.79s: Clang :: Analysis/runtime-regression.c
87.18s: Clang :: CodeGen/X86/ssse3-builtins.c
86.91s: Clang :: CodeGen/X86/mmx-builtins.c
86.18s: Clang :: CodeGen/X86/sse42-builtins.c
84.62s: LLVM :: CodeGen/AMDGPU/bf16.ll

Tests Times:
--------------------------------------------------------------------------
[   Range   ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[240s,260s) :: [                                        ] :: [     1/112938]
[220s,240s) :: [                                        ] :: [     0/112938]
[200s,220s) :: [                                        ] :: [     0/112938]
[180s,200s) :: [                                        ] :: [     1/112938]
[160s,180s) :: [                                        ] :: [     0/112938]
[140s,160s) :: [                                        ] :: [     0/112938]
[120s,140s) :: [                                        ] :: [     0/112938]
[100s,120s) :: [                                        ] :: [     4/112938]
Step 14 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/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: 94394 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (94314 of 94394)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
254.27s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
186.63s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
110.02s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
103.89s: Clang :: CodeGen/X86/sse2-builtins.c
103.19s: Clang :: CodeGen/X86/avx-builtins.c
98.66s: Clang :: CodeGen/X86/avx2-builtins.c
97.59s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
93.02s: Clang :: CodeGen/X86/rot-intrinsics.c
91.90s: Clang :: CodeGen/X86/avx512f-builtins.c
90.98s: Clang :: CodeGen/X86/avx512vlbw-reduceIntrin.c
90.89s: Clang :: CodeGen/X86/sse41-builtins.c
90.49s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
89.92s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
89.52s: Clang :: CodeGen/X86/xop-builtins.c
89.44s: LLVM :: CodeGen/RISCV/rvv/expandload.ll
88.79s: Clang :: Analysis/runtime-regression.c
87.18s: Clang :: CodeGen/X86/ssse3-builtins.c
86.91s: Clang :: CodeGen/X86/mmx-builtins.c
86.18s: Clang :: CodeGen/X86/sse42-builtins.c
84.62s: LLVM :: CodeGen/AMDGPU/bf16.ll

Tests Times:
--------------------------------------------------------------------------
[   Range   ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[240s,260s) :: [                                        ] :: [     1/112938]
[220s,240s) :: [                                        ] :: [     0/112938]
[200s,220s) :: [                                        ] :: [     0/112938]
[180s,200s) :: [                                        ] :: [     1/112938]
[160s,180s) :: [                                        ] :: [     0/112938]
[140s,160s) :: [                                        ] :: [     0/112938]
[120s,140s) :: [                                        ] :: [     0/112938]
[100s,120s) :: [                                        ] :: [     4/112938]

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 2025

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

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

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:564: 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:564: 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:564: 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:564: 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:564: 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:564: 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: 89541 tests, 72 workers --
Testing:  0.. 10.. 20..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (26743 of 89541)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.30s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
19.03s: Clang :: Driver/arm-cortex-cpus-2.c
19.00s: Clang :: Driver/arm-cortex-cpus-1.c
18.02s: Clang :: OpenMP/target_update_codegen.cpp
17.91s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
17.70s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
17.58s: Clang :: CodeGen/X86/avx-builtins.c
17.03s: Clang :: Preprocessor/riscv-target-features.c
16.07s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
15.87s: Clang :: CodeGen/X86/sse2-builtins.c
14.46s: Clang :: Preprocessor/aarch64-target-features.c
13.97s: Clang :: Preprocessor/arm-target-features.c
13.87s: Clang :: CodeGen/X86/avx2-builtins.c
13.33s: Clang :: Analysis/a_flaky_crash.cpp
13.29s: Clang :: CodeGen/X86/avx512f-builtins.c
13.20s: Clang :: Driver/fsanitize.c
13.10s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
13.00s: Clang :: CodeGen/X86/mmx-builtins.c
12.86s: Clang :: CodeGen/X86/rot-intrinsics.c
12.50s: Clang :: Modules/fmodules-validate-once-per-build-session.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[22.0s,24.0s) :: [                                        ] :: [     1/104352]
[20.0s,22.0s) :: [                                        ] :: [     0/104352]
[18.0s,20.0s) :: [                                        ] :: [     6/104352]
[16.0s,18.0s) :: [                                        ] :: [     3/104352]
[14.0s,16.0s) :: [                                        ] :: [     3/104352]
[12.0s,14.0s) :: [                                        ] :: [    11/104352]
[10.0s,12.0s) :: [                                        ] :: [     7/104352]
[ 8.0s,10.0s) :: [                                        ] :: [    17/104352]
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:564: 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:564: 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:564: 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:564: 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:564: 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:564: 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: 89541 tests, 72 workers --
Testing:  0.. 10.. 20..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (26743 of 89541)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.30s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
19.03s: Clang :: Driver/arm-cortex-cpus-2.c
19.00s: Clang :: Driver/arm-cortex-cpus-1.c
18.02s: Clang :: OpenMP/target_update_codegen.cpp
17.91s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
17.70s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
17.58s: Clang :: CodeGen/X86/avx-builtins.c
17.03s: Clang :: Preprocessor/riscv-target-features.c
16.07s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
15.87s: Clang :: CodeGen/X86/sse2-builtins.c
14.46s: Clang :: Preprocessor/aarch64-target-features.c
13.97s: Clang :: Preprocessor/arm-target-features.c
13.87s: Clang :: CodeGen/X86/avx2-builtins.c
13.33s: Clang :: Analysis/a_flaky_crash.cpp
13.29s: Clang :: CodeGen/X86/avx512f-builtins.c
13.20s: Clang :: Driver/fsanitize.c
13.10s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
13.00s: Clang :: CodeGen/X86/mmx-builtins.c
12.86s: Clang :: CodeGen/X86/rot-intrinsics.c
12.50s: Clang :: Modules/fmodules-validate-once-per-build-session.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[22.0s,24.0s) :: [                                        ] :: [     1/104352]
[20.0s,22.0s) :: [                                        ] :: [     0/104352]
[18.0s,20.0s) :: [                                        ] :: [     6/104352]
[16.0s,18.0s) :: [                                        ] :: [     3/104352]
[14.0s,16.0s) :: [                                        ] :: [     3/104352]
[12.0s,14.0s) :: [                                        ] :: [    11/104352]
[10.0s,12.0s) :: [                                        ] :: [     7/104352]
[ 8.0s,10.0s) :: [                                        ] :: [    17/104352]

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-msan running on sanitizer-buildbot6 while building llvm at step 2 "annotate".

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

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-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/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: 90900 tests, 64 workers --
Testing:  0.. 10.. 20.. 
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (28168 of 90900)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
31.48s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets-exhaustively.s
31.47s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets.s
30.99s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets.s
30.92s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets-exhaustively.s
23.30s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
15.25s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
11.39s: Clang :: Modules/fmodules-validate-once-per-build-session.c
10.25s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
7.30s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
7.18s: Clang :: CodeGen/X86/avx-builtins.c
6.93s: Clang :: Preprocessor/riscv-target-features.c
6.91s: Clang :: CodeGen/X86/sse2-builtins.c
6.77s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
6.76s: Clang :: OpenMP/target_update_codegen.cpp
6.48s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
6.24s: LLVM :: CodeGen/AMDGPU/bf16.ll
6.22s: Clang :: CodeGen/X86/avx512f-builtins.c
6.14s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
5.99s: Clang :: CodeGen/X86/avx2-builtins.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[30.0s,32.0s) :: [                                        ] :: [     4/107449]
[28.0s,30.0s) :: [                                        ] :: [     0/107449]
[26.0s,28.0s) :: [                                        ] :: [     0/107449]
[24.0s,26.0s) :: [                                        ] :: [     0/107449]
[22.0s,24.0s) :: [                                        ] :: [     1/107449]
[20.0s,22.0s) :: [                                        ] :: [     0/107449]
[18.0s,20.0s) :: [                                        ] :: [     0/107449]
[16.0s,18.0s) :: [                                        ] :: [     0/107449]
Step 14 (stage3/msan check) failure: stage3/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build2_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/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: 90900 tests, 64 workers --
Testing:  0.. 10.. 20.. 
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (28168 of 90900)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
31.48s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets-exhaustively.s
31.47s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets.s
30.99s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets.s
30.92s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets-exhaustively.s
23.30s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
15.25s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
11.39s: Clang :: Modules/fmodules-validate-once-per-build-session.c
10.25s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
7.30s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
7.18s: Clang :: CodeGen/X86/avx-builtins.c
6.93s: Clang :: Preprocessor/riscv-target-features.c
6.91s: Clang :: CodeGen/X86/sse2-builtins.c
6.77s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
6.76s: Clang :: OpenMP/target_update_codegen.cpp
6.48s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
6.24s: LLVM :: CodeGen/AMDGPU/bf16.ll
6.22s: Clang :: CodeGen/X86/avx512f-builtins.c
6.14s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
5.99s: Clang :: CodeGen/X86/avx2-builtins.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[30.0s,32.0s) :: [                                        ] :: [     4/107449]
[28.0s,30.0s) :: [                                        ] :: [     0/107449]
[26.0s,28.0s) :: [                                        ] :: [     0/107449]
[24.0s,26.0s) :: [                                        ] :: [     0/107449]
[22.0s,24.0s) :: [                                        ] :: [     1/107449]
[20.0s,22.0s) :: [                                        ] :: [     0/107449]
[18.0s,20.0s) :: [                                        ] :: [     0/107449]
[16.0s,18.0s) :: [                                        ] :: [     0/107449]

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 2025

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

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

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-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/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: 89541 tests, 72 workers --
Testing:  0.. 10.. 20..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (26691 of 89541)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.34s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
11.95s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
11.70s: Clang :: Modules/fmodules-validate-once-per-build-session.c
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.40s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
8.32s: Clang :: OpenMP/target_update_codegen.cpp
8.27s: Clang :: CodeGen/X86/avx-builtins.c
8.11s: Clang :: Driver/arm-cortex-cpus-1.c
8.07s: Clang :: Driver/arm-cortex-cpus-2.c
8.05s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
8.02s: Clang :: CodeGen/X86/sse2-builtins.c
8.00s: Clang :: Preprocessor/riscv-target-features.c
7.43s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
6.52s: Clang :: CodeGen/X86/avx2-builtins.c
6.32s: Clang :: Preprocessor/aarch64-target-features.c
6.29s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
6.28s: Clang :: Preprocessor/arm-target-features.c
6.25s: Clang :: CodeGen/X86/avx512f-builtins.c
6.22s: Clang :: Analysis/a_flaky_crash.cpp
6.04s: Clang :: CodeGen/X86/rot-intrinsics.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[22.0s,24.0s) :: [                                        ] :: [     1/102414]
[20.0s,22.0s) :: [                                        ] :: [     0/102414]
[18.0s,20.0s) :: [                                        ] :: [     0/102414]
[16.0s,18.0s) :: [                                        ] :: [     0/102414]
[14.0s,16.0s) :: [                                        ] :: [     0/102414]
[12.0s,14.0s) :: [                                        ] :: [     2/102414]
[10.0s,12.0s) :: [                                        ] :: [     1/102414]
[ 8.0s,10.0s) :: [                                        ] :: [     8/102414]
Step 14 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/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: 89541 tests, 72 workers --
Testing:  0.. 10.. 20..
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (26691 of 89541)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
23.34s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
11.95s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
11.70s: Clang :: Modules/fmodules-validate-once-per-build-session.c
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.40s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
8.32s: Clang :: OpenMP/target_update_codegen.cpp
8.27s: Clang :: CodeGen/X86/avx-builtins.c
8.11s: Clang :: Driver/arm-cortex-cpus-1.c
8.07s: Clang :: Driver/arm-cortex-cpus-2.c
8.05s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
8.02s: Clang :: CodeGen/X86/sse2-builtins.c
8.00s: Clang :: Preprocessor/riscv-target-features.c
7.43s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
6.52s: Clang :: CodeGen/X86/avx2-builtins.c
6.32s: Clang :: Preprocessor/aarch64-target-features.c
6.29s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
6.28s: Clang :: Preprocessor/arm-target-features.c
6.25s: Clang :: CodeGen/X86/avx512f-builtins.c
6.22s: Clang :: Analysis/a_flaky_crash.cpp
6.04s: Clang :: CodeGen/X86/rot-intrinsics.c

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[22.0s,24.0s) :: [                                        ] :: [     1/102414]
[20.0s,22.0s) :: [                                        ] :: [     0/102414]
[18.0s,20.0s) :: [                                        ] :: [     0/102414]
[16.0s,18.0s) :: [                                        ] :: [     0/102414]
[14.0s,16.0s) :: [                                        ] :: [     0/102414]
[12.0s,14.0s) :: [                                        ] :: [     2/102414]
[10.0s,12.0s) :: [                                        ] :: [     1/102414]
[ 8.0s,10.0s) :: [                                        ] :: [     8/102414]

mtrofin added a commit that referenced this pull request Dec 9, 2025
The test introduced in #171118 has `llc` inadvertently producing an
output into the same dir as the test file itself. Most build bots don't
clean up the local git repo, which is assumed to not be written by build
+ test, and patch on top (for build performance reasons), which means
the produced output from the aforementioned PR is treated as a test from
here onwards, by all bots. Since it's missing `RUN` lines, we get
errors, for example
 https://lab.llvm.org/buildbot/#/builders/108/builds/20674

This patch fixes the `llc` line and also removes the `.s`. This avoids
all bot maintainers go restart their bots. Then, the cleanup is removed
in #171256.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 2025

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

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

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-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-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: 90900 tests, 64 workers --
Testing:  0.. 10.. 20.. 
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (28186 of 90900)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
45.02s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets-exhaustively.s
44.42s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets-exhaustively.s
43.16s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets.s
42.58s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets.s
33.50s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
25.56s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
24.18s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
18.14s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
16.71s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
16.28s: lit :: shtest-define.py
16.00s: Clang :: CodeGen/X86/avx-builtins.c
15.89s: Clang :: Preprocessor/riscv-target-features.c
15.60s: Clang :: CodeGen/X86/sse2-builtins.c
15.38s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
15.36s: Clang :: OpenMP/target_update_codegen.cpp
15.25s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
14.61s: Clang :: CodeGen/X86/avx512f-builtins.c
14.48s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
14.41s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
14.16s: lit :: shtest-shell.py

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[44.0s,46.0s) :: [                                        ] :: [     3/108498]
[42.0s,44.0s) :: [                                        ] :: [     1/108498]
[40.0s,42.0s) :: [                                        ] :: [     0/108498]
[38.0s,40.0s) :: [                                        ] :: [     0/108498]
[36.0s,38.0s) :: [                                        ] :: [     0/108498]
[34.0s,36.0s) :: [                                        ] :: [     1/108498]
[32.0s,34.0s) :: [                                        ] :: [     0/108498]
[30.0s,32.0s) :: [                                        ] :: [     0/108498]
Step 14 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-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: 90900 tests, 64 workers --
Testing:  0.. 10.. 20.. 
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (28186 of 90900)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
45.02s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets-exhaustively.s
44.42s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets-exhaustively.s
43.16s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets.s
42.58s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets.s
33.50s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
25.56s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
24.18s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
18.14s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
16.71s: Clang :: CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
16.28s: lit :: shtest-define.py
16.00s: Clang :: CodeGen/X86/avx-builtins.c
15.89s: Clang :: Preprocessor/riscv-target-features.c
15.60s: Clang :: CodeGen/X86/sse2-builtins.c
15.38s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
15.36s: Clang :: OpenMP/target_update_codegen.cpp
15.25s: Clang :: OpenMP/target_defaultmap_codegen_01.cpp
14.61s: Clang :: CodeGen/X86/avx512f-builtins.c
14.48s: Clang :: CodeGen/X86/avx512vlbw-builtins.c
14.41s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
14.16s: lit :: shtest-shell.py

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[44.0s,46.0s) :: [                                        ] :: [     3/108498]
[42.0s,44.0s) :: [                                        ] :: [     1/108498]
[40.0s,42.0s) :: [                                        ] :: [     0/108498]
[38.0s,40.0s) :: [                                        ] :: [     0/108498]
[36.0s,38.0s) :: [                                        ] :: [     0/108498]
[34.0s,36.0s) :: [                                        ] :: [     1/108498]
[32.0s,34.0s) :: [                                        ] :: [     0/108498]
[30.0s,32.0s) :: [                                        ] :: [     0/108498]

@llvm-ci
Copy link
Collaborator

llvm-ci commented Dec 9, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-asan running on sanitizer-buildbot1 while building llvm at step 2 "annotate".

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

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-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/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: 90900 tests, 64 workers --
Testing:  0.. 10.. 20.. 
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (28165 of 90900)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
35.40s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets-exhaustively.s
35.11s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets-exhaustively.s
31.44s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets.s
31.03s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets.s
23.41s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
21.25s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
18.15s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
15.10s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
14.98s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
12.65s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
11.79s: LLVM :: CodeGen/AMDGPU/shufflevector.v2f32.v8f32.ll
11.71s: Clang :: Modules/fmodules-validate-once-per-build-session.c
11.10s: LLVM :: CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
10.29s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
10.06s: LLVM :: CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.67s: LLVM :: CodeGen/AMDGPU/shufflevector.v4i32.v4i32.ll
9.56s: LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v4f32.ll
9.48s: LLVM :: CodeGen/AMDGPU/shufflevector.v4bf16.v4bf16.ll
9.38s: LLVM :: CodeGen/AMDGPU/shufflevector.v4p3.v4p3.ll

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[34.0s,36.0s) :: [                                        ] :: [     2/107594]
[32.0s,34.0s) :: [                                        ] :: [     0/107594]
[30.0s,32.0s) :: [                                        ] :: [     2/107594]
[28.0s,30.0s) :: [                                        ] :: [     0/107594]
[26.0s,28.0s) :: [                                        ] :: [     0/107594]
[24.0s,26.0s) :: [                                        ] :: [     0/107594]
[22.0s,24.0s) :: [                                        ] :: [     1/107594]
[20.0s,22.0s) :: [                                        ] :: [     1/107594]
Step 14 (stage3/asan check) failure: stage3/asan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:564: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/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: 90900 tests, 64 workers --
Testing:  0.. 10.. 20.. 
UNRESOLVED: LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s (28165 of 90900)
******************** TEST 'LLVM :: CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.s' FAILED ********************
Test has no 'RUN:' line
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests:
--------------------------------------------------------------------------
35.40s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets-exhaustively.s
35.11s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets-exhaustively.s
31.44s: LLVM :: tools/llvm-exegesis/X86/uops/uops-prepare-all-snippets.s
31.03s: LLVM :: tools/llvm-exegesis/X86/inverse_throughput/inverse_throughput-prepare-all-snippets.s
23.41s: LLVM :: tools/llvm-reduce/parallel-workitem-kill.ll
21.25s: LLVM :: CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
18.15s: LLVM :: CodeGen/AMDGPU/memintrinsic-unroll.ll
15.10s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll
14.98s: LLVM :: CodeGen/AMDGPU/sched-group-barrier-pipeline-solver.mir
12.65s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i16.v8i16.ll
11.79s: LLVM :: CodeGen/AMDGPU/shufflevector.v2f32.v8f32.ll
11.71s: Clang :: Modules/fmodules-validate-once-per-build-session.c
11.10s: LLVM :: CodeGen/AMDGPU/shufflevector.v2f16.v8f16.ll
10.29s: LLVM :: CodeGen/AMDGPU/shufflevector.v2i32.v8i32.ll
10.06s: LLVM :: CodeGen/AMDGPU/shufflevector.v2bf16.v8bf16.ll
10.01s: LLVM-Unit :: Support/./SupportTests/ProgramEnvTest/TestExecuteNoWaitDetached
9.67s: LLVM :: CodeGen/AMDGPU/shufflevector.v4i32.v4i32.ll
9.56s: LLVM :: CodeGen/AMDGPU/shufflevector.v4f32.v4f32.ll
9.48s: LLVM :: CodeGen/AMDGPU/shufflevector.v4bf16.v4bf16.ll
9.38s: LLVM :: CodeGen/AMDGPU/shufflevector.v4p3.v4p3.ll

Tests Times:
--------------------------------------------------------------------------
[    Range    ] :: [               Percentage               ] :: [    Count    ]
--------------------------------------------------------------------------
[34.0s,36.0s) :: [                                        ] :: [     2/107594]
[32.0s,34.0s) :: [                                        ] :: [     0/107594]
[30.0s,32.0s) :: [                                        ] :: [     2/107594]
[28.0s,30.0s) :: [                                        ] :: [     0/107594]
[26.0s,28.0s) :: [                                        ] :: [     0/107594]
[24.0s,26.0s) :: [                                        ] :: [     0/107594]
[22.0s,24.0s) :: [                                        ] :: [     1/107594]
[20.0s,22.0s) :: [                                        ] :: [     1/107594]

honeygoyal pushed a commit to honeygoyal/llvm-project that referenced this pull request Dec 9, 2025
…ring (llvm#171118)

The lowering for HOM_Epilog did not transfer explicit register defs from
the pseudo-instruction to the generated helper calls. MachineVerifier
would complain if a following tail call uses one of the restored CSRs.
This scenario occurs in code generated by the Swift compiler, where X20
is used to pass swiftself.

This patch fixes the issue by adding the missing defs back to the helper
call as implicit defs.
honeygoyal pushed a commit to honeygoyal/llvm-project that referenced this pull request Dec 9, 2025
The test introduced in llvm#171118 has `llc` inadvertently producing an
output into the same dir as the test file itself. Most build bots don't
clean up the local git repo, which is assumed to not be written by build
+ test, and patch on top (for build performance reasons), which means
the produced output from the aforementioned PR is treated as a test from
here onwards, by all bots. Since it's missing `RUN` lines, we get
errors, for example
 https://lab.llvm.org/buildbot/#/builders/108/builds/20674

This patch fixes the `llc` line and also removes the `.s`. This avoids
all bot maintainers go restart their bots. Then, the cleanup is removed
in llvm#171256.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants