Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flang/test/Lower/Intrinsics/command_argument_count.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! RUN: bbc -emit-fir %s -o - | FileCheck %s
! bbc doesn't have a way to set the default kinds so we use flang driver
! RUN: flang -fc1 -fdefault-integer-8 -emit-fir %s -o - | FileCheck --check-prefixes=CHECK,CHECK-64 %s
! RUN: %flang_fc1 -fdefault-integer-8 -emit-fir %s -o - | FileCheck --check-prefixes=CHECK,CHECK-64 %s

! CHECK-LABEL: argument_count_test
subroutine argument_count_test()
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/Intrinsics/modulo.f90
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! RUN: bbc -emit-fir -hlfir=false %s -o - | FileCheck %s -check-prefixes=HONORINF,ALL
! 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%}
! 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%}

! ALL-LABEL: func @_QPmodulo_testr(
! ALL-SAME: %[[arg0:.*]]: !fir.ref<f64>{{.*}}, %[[arg1:.*]]: !fir.ref<f64>{{.*}}, %[[arg2:.*]]: !fir.ref<f64>{{.*}}) {
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/Todo/omp-clause-indirect.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! This test checks the lowering of OpenMP Indirect Clause when used with the Declare Target directive

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

module functions
implicit none
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/Todo/omp-declarative-allocate.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! This test checks lowering of OpenMP allocate Directive.

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

program main
integer :: x, y
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
! This test checks lowering of OpenMP declare reduction Directive, with initialization
! via a subroutine. This functionality is currently not implemented.

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

!CHECK: not yet implemented: OpenMPDeclareReductionConstruct
subroutine initme(x,n)
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/Todo/omp-declare-reduction.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! This test checks lowering of OpenMP declare reduction Directive.

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

subroutine declare_red()
integer :: my_var
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/Todo/omp-declare-simd.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! This test checks lowering of OpenMP declare simd Directive.

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

subroutine sub(x, y)
real, intent(inout) :: x, y
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/cray-pointers01.f90
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! Test lowering of Cray pointee references.
! RUN: flang -fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s
! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s

module test_host_assoc_cray_pointer
! CHECK-LABEL: fir.global @_QMtest_host_assoc_cray_pointerEivar : i64
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/cray-pointers02.f90
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! Test lowering of Cray pointee references.
! RUN: flang -fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s
! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - 2>&1 | FileCheck %s

! CHECK-LABEL: func.func @_QQmain() attributes {fir.bindc_name = "TEST_CRAY_POINTERS_02"}
program test_cray_pointers_02
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
! This test checks lowering of `LASTPRIVATE` clause for scalar types.

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

!CHECK: func @_QPlastprivate_character(%[[ARG1:.*]]: !fir.boxchar<1>{{.*}}) {
!CHECK-DAG: %[[ARG1_UNBOX:.*]]:2 = fir.unboxchar
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
! Check that for parallel do, reduction is only processed for the loop

! RUN: bbc -fopenmp --force-byref-reduction -emit-hlfir %s -o - | FileCheck %s
! RUN: flang -fc1 -fopenmp -mmlir --force-byref-reduction -emit-hlfir %s -o - | FileCheck %s
! RUN: %flang_fc1 -fopenmp -mmlir --force-byref-reduction -emit-hlfir %s -o - | FileCheck %s

! CHECK: omp.parallel {
! CHECK: omp.wsloop private({{.*}}) reduction(byref @add_reduction_byref_i32
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Lower/OpenMP/parallel-wsloop-reduction.f90
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
! Check that for parallel do, reduction is only processed for the loop

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

! CHECK: omp.parallel {
! CHECK: omp.wsloop private({{.*}}) reduction(@add_reduction_i32
Expand Down
2 changes: 1 addition & 1 deletion flang/test/Semantics/indirect01.f90
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
! This test checks the lowering of OpenMP Indirect Clause when used with the Declare Target directive

! RUN: not flang -fopenmp -fopenmp-version=52 %s 2>&1 | FileCheck %s
! RUN: not %flang -fopenmp -fopenmp-version=52 %s 2>&1 | FileCheck %s

module functions
implicit none
Expand Down
4 changes: 2 additions & 2 deletions flang/test/Semantics/indirect02.f90
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
! This test checks the lowering of OpenMP Indirect Clause when used with the Declare Target directive

! RUN: not flang -fopenmp -fopenmp-version=50 %s 2>&1 | FileCheck %s --check-prefix="CHECK-50"
! RUN: not flang -fopenmp -fopenmp-version=52 %s 2>&1 | FileCheck %s --check-prefix="CHECK-52"
! RUN: not %flang -fopenmp -fopenmp-version=50 %s 2>&1 | FileCheck %s --check-prefix="CHECK-50"
! RUN: not %flang -fopenmp -fopenmp-version=52 %s 2>&1 | FileCheck %s --check-prefix="CHECK-52"

module functions
implicit none
Expand Down