[flang-commits] [flang] d82b521 - [flang][openacc][NFC] Remove run line for FIR only checks (#73050)

via flang-commits flang-commits at lists.llvm.org
Tue Nov 21 15:13:24 PST 2023


Author: Valentin Clement (バレンタイン クレメン)
Date: 2023-11-21T15:13:19-08:00
New Revision: d82b52139a418a4c6eb6d95e553c25506988b169

URL: https://github.com/llvm/llvm-project/commit/d82b52139a418a4c6eb6d95e553c25506988b169
DIFF: https://github.com/llvm/llvm-project/commit/d82b52139a418a4c6eb6d95e553c25506988b169.diff

LOG: [flang][openacc][NFC] Remove run line for FIR only checks (#73050)

Remove the run lines that check for the FIR lowering. HLFIR lowering
produce the same check lines.

Added: 
    

Modified: 
    flang/test/Lower/OpenACC/acc-fixed-form.f
    flang/test/Lower/OpenACC/acc-init.f90
    flang/test/Lower/OpenACC/acc-routine-named.f90
    flang/test/Lower/OpenACC/acc-routine.f90
    flang/test/Lower/OpenACC/acc-routine02.f90
    flang/test/Lower/OpenACC/acc-routine03.f90
    flang/test/Lower/OpenACC/acc-routine04.f90
    flang/test/Lower/OpenACC/acc-set.f90
    flang/test/Lower/OpenACC/acc-shutdown.f90
    flang/test/Lower/OpenACC/acc-unstructured.f90
    flang/test/Lower/OpenACC/acc-wait.f90
    flang/test/Lower/OpenACC/locations.f90
    flang/test/Lower/OpenACC/stop-stmt-in-region.f90

Removed: 
    


################################################################################
diff  --git a/flang/test/Lower/OpenACC/acc-fixed-form.f b/flang/test/Lower/OpenACC/acc-fixed-form.f
index 41c000d108b7134..14391ebce59582c 100644
--- a/flang/test/Lower/OpenACC/acc-fixed-form.f
+++ b/flang/test/Lower/OpenACC/acc-fixed-form.f
@@ -1,4 +1,3 @@
-! RUN: bbc -ffixed-form -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -ffixed-form -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
       subroutine sub1()

diff  --git a/flang/test/Lower/OpenACC/acc-init.f90 b/flang/test/Lower/OpenACC/acc-init.f90
index a24e5ae469ec48b..2fbb9550548a9b4 100644
--- a/flang/test/Lower/OpenACC/acc-init.f90
+++ b/flang/test/Lower/OpenACC/acc-init.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC init directive.
 
-! RUN: bbc -fopenacc -emit-fir -hlfir=false %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 subroutine acc_init

diff  --git a/flang/test/Lower/OpenACC/acc-routine-named.f90 b/flang/test/Lower/OpenACC/acc-routine-named.f90
index 3bafbc441c34c40..2cf6bf8b2bc06d0 100644
--- a/flang/test/Lower/OpenACC/acc-routine-named.f90
+++ b/flang/test/Lower/OpenACC/acc-routine-named.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC routine directive.
 
-! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 module acc_routines

diff  --git a/flang/test/Lower/OpenACC/acc-routine.f90 b/flang/test/Lower/OpenACC/acc-routine.f90
index ffa889730918f9c..8b94279503334a9 100644
--- a/flang/test/Lower/OpenACC/acc-routine.f90
+++ b/flang/test/Lower/OpenACC/acc-routine.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC routine directive.
 
-! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 

diff  --git a/flang/test/Lower/OpenACC/acc-routine02.f90 b/flang/test/Lower/OpenACC/acc-routine02.f90
index d93ece88235ed98..1c15cb409e634d2 100644
--- a/flang/test/Lower/OpenACC/acc-routine02.f90
+++ b/flang/test/Lower/OpenACC/acc-routine02.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC routine directive.
 
-! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 subroutine sub1(a, n)

diff  --git a/flang/test/Lower/OpenACC/acc-routine03.f90 b/flang/test/Lower/OpenACC/acc-routine03.f90
index 9b64482e312a2d3..85e4ef580f98371 100644
--- a/flang/test/Lower/OpenACC/acc-routine03.f90
+++ b/flang/test/Lower/OpenACC/acc-routine03.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC routine directive in interfaces.
 
-! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 

diff  --git a/flang/test/Lower/OpenACC/acc-routine04.f90 b/flang/test/Lower/OpenACC/acc-routine04.f90
index a2987a3598e7992..b5f5aa2ca4882e0 100644
--- a/flang/test/Lower/OpenACC/acc-routine04.f90
+++ b/flang/test/Lower/OpenACC/acc-routine04.f90
@@ -1,7 +1,6 @@
 ! This test checks correct lowering when OpenACC routine directive is placed
 ! before implicit none.
 
-! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 module dummy_mod

diff  --git a/flang/test/Lower/OpenACC/acc-set.f90 b/flang/test/Lower/OpenACC/acc-set.f90
index 6189e1a15772426..2741c3c63255906 100644
--- a/flang/test/Lower/OpenACC/acc-set.f90
+++ b/flang/test/Lower/OpenACC/acc-set.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC set directive.
 
-! RUN: bbc -fopenacc -emit-fir -hlfir=false %s -o - | FileCheck %s --check-prefixes=CHECK,FIR
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s --check-prefixes=CHECK,HLFIR
 
 program test_acc_set

diff  --git a/flang/test/Lower/OpenACC/acc-shutdown.f90 b/flang/test/Lower/OpenACC/acc-shutdown.f90
index f9ce0e84d5e7f17..6c080b932f92eef 100644
--- a/flang/test/Lower/OpenACC/acc-shutdown.f90
+++ b/flang/test/Lower/OpenACC/acc-shutdown.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC shutdown directive.
 
-! RUN: bbc -fopenacc -emit-fir -hlfir=false %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 subroutine acc_shutdown

diff  --git a/flang/test/Lower/OpenACC/acc-unstructured.f90 b/flang/test/Lower/OpenACC/acc-unstructured.f90
index 4ce474241a4bec7..c57af98770cf509 100644
--- a/flang/test/Lower/OpenACC/acc-unstructured.f90
+++ b/flang/test/Lower/OpenACC/acc-unstructured.f90
@@ -1,4 +1,3 @@
-! RUN: bbc -fopenacc -emit-fir %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 subroutine test_unstructured1(a, b, c)

diff  --git a/flang/test/Lower/OpenACC/acc-wait.f90 b/flang/test/Lower/OpenACC/acc-wait.f90
index 28f4fc11a28f011..8a42c97a12811e1 100644
--- a/flang/test/Lower/OpenACC/acc-wait.f90
+++ b/flang/test/Lower/OpenACC/acc-wait.f90
@@ -1,6 +1,5 @@
 ! This test checks lowering of OpenACC wait directive.
 
-! RUN: bbc -fopenacc -emit-fir -hlfir=false %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
 
 subroutine acc_update

diff  --git a/flang/test/Lower/OpenACC/locations.f90 b/flang/test/Lower/OpenACC/locations.f90
index 031d8eda48acdc9..c0114476b57eea3 100644
--- a/flang/test/Lower/OpenACC/locations.f90
+++ b/flang/test/Lower/OpenACC/locations.f90
@@ -1,7 +1,7 @@
 ! This test checks correct propagation of location information in OpenACC
 ! operations.
 
-! RUN: bbc -fopenacc -emit-fir --mlir-print-debuginfo --mlir-print-local-scope %s -o - | FileCheck %s
+
 ! RUN: bbc -fopenacc -emit-hlfir --mlir-print-debuginfo --mlir-print-local-scope %s -o - | FileCheck %s
 module acc_locations
   implicit none

diff  --git a/flang/test/Lower/OpenACC/stop-stmt-in-region.f90 b/flang/test/Lower/OpenACC/stop-stmt-in-region.f90
index 0a13509dff49f2d..2694a1531d16934 100644
--- a/flang/test/Lower/OpenACC/stop-stmt-in-region.f90
+++ b/flang/test/Lower/OpenACC/stop-stmt-in-region.f90
@@ -1,8 +1,6 @@
 ! This test checks lowering of stop statement in OpenACC region.
 
-! RUN: bbc -fopenacc -emit-fir -hlfir=false %s -o - | FileCheck %s
 ! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s
-! RUN: %flang_fc1 -emit-fir -flang-deprecated-no-hlfir -fopenacc %s -o - | FileCheck %s
 ! RUN: %flang_fc1 -emit-hlfir -fopenacc %s -o - | FileCheck %s
 
 ! CHECK-LABEL: func.func @_QPtest_stop_in_region1() {


        


More information about the flang-commits mailing list