Skip to content

Commit 7b9c452

Browse files
kiranktpaadeshps-mcw
authored andcommitted
[NFC][flang] Replace use of flang -fc1 with %flang_fc1 in few test case (llvm#168830)
Replace use of flang -fc1 with %flang_fc1 in few test case
1 parent b19c2d4 commit 7b9c452

14 files changed

+15
-15
lines changed

flang/test/Lower/Intrinsics/command_argument_count.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! RUN: bbc -emit-fir %s -o - | FileCheck %s
22
! bbc doesn't have a way to set the default kinds so we use flang driver
3-
! RUN: flang -fc1 -fdefault-integer-8 -emit-fir %s -o - | FileCheck --check-prefixes=CHECK,CHECK-64 %s
3+
! RUN: %flang_fc1 -fdefault-integer-8 -emit-fir %s -o - | FileCheck --check-prefixes=CHECK,CHECK-64 %s
44

55
! CHECK-LABEL: argument_count_test
66
subroutine argument_count_test()

flang/test/Lower/Intrinsics/modulo.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! RUN: bbc -emit-fir -hlfir=false %s -o - | FileCheck %s -check-prefixes=HONORINF,ALL
2-
! RUN: flang -fc1 -menable-no-infs -emit-fir -flang-deprecated-no-hlfir %s -o - | FileCheck %s -check-prefixes=CHECK,ALL,%if flang-supports-f128-math %{F128%} %else %{F64%}
2+
! RUN: %flang_fc1 -menable-no-infs -emit-fir -flang-deprecated-no-hlfir %s -o - | FileCheck %s -check-prefixes=CHECK,ALL,%if flang-supports-f128-math %{F128%} %else %{F64%}
33

44
! ALL-LABEL: func @_QPmodulo_testr(
55
! ALL-SAME: %[[arg0:.*]]: !fir.ref<f64>{{.*}}, %[[arg1:.*]]: !fir.ref<f64>{{.*}}, %[[arg2:.*]]: !fir.ref<f64>{{.*}}) {

flang/test/Lower/OpenMP/Todo/omp-clause-indirect.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! This test checks the lowering of OpenMP Indirect Clause when used with the Declare Target directive
22

3-
! RUN: not flang -fc1 -emit-fir -fopenmp -fopenmp-version=52 %s 2>&1 | FileCheck %s
3+
! RUN: not %flang_fc1 -emit-fir -fopenmp -fopenmp-version=52 %s 2>&1 | FileCheck %s
44

55
module functions
66
implicit none

flang/test/Lower/OpenMP/Todo/omp-declarative-allocate.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! This test checks lowering of OpenMP allocate Directive.
22

3-
! RUN: not flang -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
3+
! RUN: not %flang_fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
44

55
program main
66
integer :: x, y

flang/test/Lower/OpenMP/Todo/omp-declare-reduction-initsub.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
! This test checks lowering of OpenMP declare reduction Directive, with initialization
22
! via a subroutine. This functionality is currently not implemented.
33

4-
! RUN: not flang -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
4+
! RUN: not %flang_fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
55

66
!CHECK: not yet implemented: OpenMPDeclareReductionConstruct
77
subroutine initme(x,n)

flang/test/Lower/OpenMP/Todo/omp-declare-reduction.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! This test checks lowering of OpenMP declare reduction Directive.
22

3-
! RUN: not flang -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
3+
! RUN: not %flang_fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
44

55
subroutine declare_red()
66
integer :: my_var

flang/test/Lower/OpenMP/Todo/omp-declare-simd.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! This test checks lowering of OpenMP declare simd Directive.
22

3-
// RUN: not flang -fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
3+
// RUN: not %flang_fc1 -emit-fir -fopenmp %s 2>&1 | FileCheck %s
44

55
subroutine sub(x, y)
66
real, intent(inout) :: x, y

flang/test/Lower/OpenMP/cray-pointers01.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! Test lowering of Cray pointee references.
2-
! RUN: flang -fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s
2+
! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s
33

44
module test_host_assoc_cray_pointer
55
! CHECK-LABEL: fir.global @_QMtest_host_assoc_cray_pointerEivar : i64

flang/test/Lower/OpenMP/cray-pointers02.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
! Test lowering of Cray pointee references.
2-
! RUN: flang -fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s
2+
! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s
33

44
! CHECK-LABEL: func.func @_QQmain() attributes {fir.bindc_name = "TEST_CRAY_POINTERS_02"}
55
program test_cray_pointers_02

flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
! This test checks lowering of `LASTPRIVATE` clause for scalar types.
22

33
! RUN: bbc -fopenmp -emit-hlfir %s -o - | FileCheck %s
4-
! RUN: flang -fc1 -fopenmp -emit-hlfir %s -o - | FileCheck %s
4+
! RUN: %flang_fc1 -fopenmp -emit-hlfir %s -o - | FileCheck %s
55

66
!CHECK: func @_QPlastprivate_character(%[[ARG1:.*]]: !fir.boxchar<1>{{.*}}) {
77
!CHECK-DAG: %[[ARG1_UNBOX:.*]]:2 = fir.unboxchar

0 commit comments

Comments
 (0)