Skip to content

Commit 4cabee3

Browse files
authored
[flang] Fix slp-vectorize.f90 test (#133128)
The test was missing "-o /dev/null" and inadvertently generating a .ll file in the test directory. Signed-off-by: Kajetan Puchalski <kajetan.puchalski@arm.com>
1 parent 9269aae commit 4cabee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/test/Driver/slp-vectorize.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
! RUN: %flang -### -S -O3 %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZE %s
77
! RUN: %flang -### -S -Os %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZE %s
88
! RUN: %flang -### -S -Oz %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZE %s
9-
! RUN: %flang_fc1 -emit-llvm -O2 -vectorize-slp -mllvm -print-pipeline-passes %s 2>&1 | FileCheck -check-prefix=CHECK-SLP-VECTORIZER %s
10-
! RUN: %flang_fc1 -emit-llvm -O2 -mllvm -print-pipeline-passes %s 2>&1 | FileCheck -check-prefix=CHECK-NO-SLP-VECTORIZER %s
9+
! 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
10+
! RUN: %flang_fc1 -emit-llvm -O2 -mllvm -print-pipeline-passes -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-NO-SLP-VECTORIZER %s
1111
! CHECK-SLP-VECTORIZE: "-vectorize-slp"
1212
! CHECK-NO-SLP-VECTORIZE-NOT: "-no-vectorize-slp"
1313
! CHECK-SLP-VECTORIZER: slp-vectorizer

0 commit comments

Comments
 (0)