-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[flang] Fix slp-vectorize.f90 test #133128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The test was missing "-o /dev/null" and inadvertently generating a .ll file in the test directory. Signed-off-by: Kajetan Puchalski <[email protected]>
@llvm/pr-subscribers-flang-driver Author: Kajetan Puchalski (mrkajetanp) ChangesThe test was missing "-o /dev/null" and inadvertently generating a .ll file in the test directory. Full diff: https://github.com/llvm/llvm-project/pull/133128.diff 1 Files Affected:
diff --git a/flang/test/Driver/slp-vectorize.f90 b/flang/test/Driver/slp-vectorize.f90
index 28004f5c91f5f..1ebbd25e47a55 100644
--- a/flang/test/Driver/slp-vectorize.f90
+++ b/flang/test/Driver/slp-vectorize.f90
@@ -6,8 +6,8 @@
! RUN: %flang -### -S -O3 %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZE %s
! RUN: %flang -### -S -Os %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZE %s
! RUN: %flang -### -S -Oz %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZE %s
-! RUN: %flang_fc1 -emit-llvm -O2 -vectorize-slp -mllvm -print-pipeline-passes %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZER %s
-! RUN: %flang_fc1 -emit-llvm -O2 -mllvm -print-pipeline-passes %s 2>&1 | FileCheck -check-prefix=CHECK-NO-SLP-VECTORIZER %s
+! RUN: %flang_fc1 -emit-llvm -O2 -vectorize-slp -mllvm -print-pipeline-passes -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZER %s
+! RUN: %flang_fc1 -emit-llvm -O2 -mllvm -print-pipeline-passes -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-NO-SLP-VECTORIZER %s
! CHECK-SLP-VECTORIZE: "-vectorize-slp"
! CHECK-NO-SLP-VECTORIZE-NOT: "-no-vectorize-slp"
! CHECK-SLP-VECTORIZER: slp-vectorizer
|
Merging without review because this is affecting a buildbot #132801 (comment) I can see other flang tests using |
@mrkajetanp
https://lab.llvm.org/buildbot/#/builders/157/builds/23695 Not sure why it shows |
Prior to this commit the test was generating a .ll file in the test directory, which the runners would later pick up and fail on. With -o /dev/null this no longer happens, so maybe the runner has some cached leftovers or something like that? I'm not sure what exactly Unresolved Tests means in this context. |
Right. It seems like the |
@mrkajetanp, You will usually see that error when lit does not know what to do with a file, typically because it has no
|
Ah thanks, makes sense! Apologies for the confusion this has caused, I'll be more careful with the build bots going forward.. |
The test was missing "-o /dev/null" and inadvertently generating a .ll file in the test directory.