Skip to content

Conversation

@mtrofin
Copy link
Member

@mtrofin mtrofin commented Dec 9, 2025

This follows #171255 , removing the cleanup line.

Copy link
Member Author

mtrofin commented Dec 9, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@mtrofin mtrofin marked this pull request as ready for review December 9, 2025 04:55
@llvmbot
Copy link
Member

llvmbot commented Dec 9, 2025

@llvm/pr-subscribers-backend-aarch64

Author: Mircea Trofin (mtrofin)

Changes

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

1 Files Affected:

  • (modified) llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir (-1)
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
index ec094109cad6e..3c6c365de87f0 100644
--- a/llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir
+++ b/llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir
@@ -1,4 +1,3 @@
-# RUN: rm -rf %S/arm64-homogeneous-prolog-epilog-tail-call.s
 # RUN: llc -verify-machineinstrs -mtriple=arm64-applie-ios7.0 -start-before=aarch64-lower-homogeneous-prolog-epilog -homogeneous-prolog-epilog %s -o /dev/null
 #
 # This test ensures defined registers are preserved after lowering homogeneous

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.
Base automatically changed from users/mtrofin/12-08-fix_test_outputting_to_test_dir to main December 9, 2025 04:56
@mtrofin mtrofin force-pushed the users/mtrofin/12-08-remove_cleanup_of_incorrect_output_in_test_dir branch from 0944643 to 82a1a33 Compare December 9, 2025 04:57
@mtrofin mtrofin requested a review from kyulee-com December 9, 2025 04:57
Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Probably want to wait 12 hours or so for the bots to cycle.

Thanks for fixing this.

Copy link
Member Author

mtrofin commented Dec 9, 2025

I'll land this a bit later to make sure all bots (including those that take batches of changes) run #171255 first.

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