Skip to content

Commit dd3f7b2

Browse files
committed
test loop-interchange in pass pipeline
1 parent ad86b77 commit dd3f7b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flang/test/Driver/loop-interchange.f90

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
! RUN: %flang -### -S -Oz %s 2>&1 | FileCheck -check-prefix=CHECK-NO-LOOP-INTERCHANGE %s
99
! CHECK-LOOP-INTERCHANGE: "-floop-interchange"
1010
! CHECK-NO-LOOP-INTERCHANGE-NOT: "-floop-interchange"
11+
! RUN: %flang_fc1 -emit-llvm -O2 -floop-interchange -mllvm -print-pipeline-passes -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-LOOP-INTERCHANGE-PASS %s
12+
! RUN: %flang_fc1 -emit-llvm -O2 -fno-loop-interchange -mllvm -print-pipeline-passes -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-NO-LOOP-INTERCHANGE-PASS %s
13+
! CHECK-LOOP-INTERCHANGE-PASS: loop-interchange
14+
! CHECK-NO-LOOP-INTERCHANGE-PASS-NOT: loop-interchange
1115

1216
program test
1317
end program

0 commit comments

Comments
 (0)