[PATCH] D101078: [flang] Update recently added OpenMP tests to use the new driver
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 09:19:30 PDT 2021
awarzynski created this revision.
Herald added subscribers: guansong, yaxunl.
Herald added a reviewer: sscalpone.
awarzynski requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
Switching from `%f18` to `%flang_fc1` in LIT tests added in
https://reviews.llvm.org/D91159. This way these tests are run with the
new driver, `flang-new`, when enabled (i.e. when
`FLANG_BUILD_NEW_DRIVER` is set).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101078
Files:
flang/test/Semantics/omp-allocate01.f90
flang/test/Semantics/omp-allocate02.f90
flang/test/Semantics/omp-allocate03.f90
flang/test/Semantics/omp-allocate04.f90
flang/test/Semantics/omp-allocate05.f90
Index: flang/test/Semantics/omp-allocate05.f90
===================================================================
--- flang/test/Semantics/omp-allocate05.f90
+++ flang/test/Semantics/omp-allocate05.f90
@@ -1,4 +1,4 @@
-! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
+! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
! OpenMP Version 5.0
! 2.11.3 allocate Directive
! allocate directives that appear in a target region must specify an allocator
Index: flang/test/Semantics/omp-allocate04.f90
===================================================================
--- flang/test/Semantics/omp-allocate04.f90
+++ flang/test/Semantics/omp-allocate04.f90
@@ -1,4 +1,4 @@
-! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
+! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
! OpenMP Version 5.0
! 2.11.3 allocate Directive
! Only the allocator clause is allowed on the allocate directive
Index: flang/test/Semantics/omp-allocate03.f90
===================================================================
--- flang/test/Semantics/omp-allocate03.f90
+++ flang/test/Semantics/omp-allocate03.f90
@@ -1,4 +1,4 @@
-! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
+! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
! OpenMP Version 5.0
! 2.11.3 allocate Directive
! A variable that is part of another variable (as an array or
Index: flang/test/Semantics/omp-allocate02.f90
===================================================================
--- flang/test/Semantics/omp-allocate02.f90
+++ flang/test/Semantics/omp-allocate02.f90
@@ -1,4 +1,4 @@
-! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
+! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
! OpenMP Version 5.0
! 2.11.3 allocate Directive
! At most one allocator clause can appear on the allocate directive.
Index: flang/test/Semantics/omp-allocate01.f90
===================================================================
--- flang/test/Semantics/omp-allocate01.f90
+++ flang/test/Semantics/omp-allocate01.f90
@@ -1,4 +1,4 @@
-! RUN: %S/test_errors.sh %s %t %f18 -fopenmp
+! RUN: %S/test_errors.sh %s %t %flang_fc1 -fopenmp
! OpenMP Version 5.0
! 2.11.3 allocate Directive
! The allocate directive must appear in the same scope as the declarations of
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101078.339676.patch
Type: text/x-patch
Size: 2198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/5834c98f/attachment.bin>
More information about the llvm-commits
mailing list