Skip to content

Commit ce76c39

Browse files
authored
Fix test outputting to test dir (#171255)
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.
1 parent ba3208e commit ce76c39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/test/CodeGen/AArch64/arm64-homogeneous-prolog-epilog-tail-call.mir

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# RUN: llc -verify-machineinstrs -mtriple=arm64-applie-ios7.0 -start-before=aarch64-lower-homogeneous-prolog-epilog -homogeneous-prolog-epilog %s
1+
# RUN: rm -rf %S/arm64-homogeneous-prolog-epilog-tail-call.s
2+
# RUN: llc -verify-machineinstrs -mtriple=arm64-applie-ios7.0 -start-before=aarch64-lower-homogeneous-prolog-epilog -homogeneous-prolog-epilog %s -o /dev/null
23
#
34
# This test ensures defined registers are preserved after lowering homogeneous
45
# epilog into helper calls. Without the fix, the verifier would complain about

0 commit comments

Comments
 (0)