File tree Expand file tree Collapse file tree 7 files changed +20
-11
lines changed Expand file tree Collapse file tree 7 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 1
1
! This test checks lowering of OpenMP IF clauses.
2
2
3
- ! RUN: bbc -fopenmp -emit-fir %s -o - | FileCheck %s
4
- ! RUN: %flang_fc1 -fopenmp -emit-fir %s -o - | FileCheck %s
3
+ ! The "if" clause was added to the "simd" directive in OpenMP 5.0, and
4
+ ! to the "teams" directive in OpenMP 5.2.
5
+ ! RUN: bbc -fopenmp -fopenmp-version=52 -emit-fir %s -o - | FileCheck %s
6
+ ! RUN: %flang_fc1 -fopenmp -fopenmp-version=52 -emit-fir %s -o - | FileCheck %s
5
7
6
8
program main
7
9
integer :: i
Original file line number Diff line number Diff line change 1
1
! Tests for 2.9.3.1 Simd
2
2
3
- ! RUN: bbc -fopenmp -emit-fir -hlfir=false %s -o - | FileCheck %s
3
+ ! The "if" clause was added to the "simd" directive in OpenMP 5.0.
4
+ ! RUN: bbc -fopenmp -fopenmp-version=50 -emit-fir -hlfir=false %s -o - | FileCheck %s
4
5
5
6
! CHECK-LABEL: func @_QPsimd()
6
7
subroutine simd
Original file line number Diff line number Diff line change 1
- ! RUN: %flang_fc1 -emit-fir -flang-deprecated-no-hlfir -fopenmp %s -o - | FileCheck %s
1
+ ! The "thread_limit" clause was added to the "target" construct in OpenMP 5.1.
2
+ ! RUN: %flang_fc1 -emit-fir -flang-deprecated-no-hlfir -fopenmp -fopenmp-version=51 %s -o - | FileCheck %s
2
3
3
4
! ===============================================================================
4
5
! Target_Enter Simple
Original file line number Diff line number Diff line change 1
1
! This test checks lowering of OpenMP IF clauses.
2
2
3
- ! RUN: bbc -fopenmp -emit-hlfir %s -o - | FileCheck %s
4
- ! RUN: %flang_fc1 -fopenmp -emit-hlfir %s -o - | FileCheck %s
3
+ ! The "if" clause was added to the "simd" directive in OpenMP 5.0, and
4
+ ! to the "teams" directive in OpenMP 5.2.
5
+ ! RUN: bbc -fopenmp -fopenmp-version=52 -emit-hlfir %s -o - | FileCheck %s
6
+ ! RUN: %flang_fc1 -fopenmp -fopenmp-version=52 -emit-hlfir %s -o - | FileCheck %s
5
7
6
8
program main
7
9
integer :: i
Original file line number Diff line number Diff line change 1
1
! Tests for 2.9.3.1 Simd
2
2
3
- ! RUN: %flang_fc1 -flang-experimental-hlfir -emit-hlfir -fopenmp %s -o - | FileCheck %s
4
- ! RUN: bbc -hlfir -emit-hlfir -fopenmp %s -o - | FileCheck %s
3
+ ! The "if" clause was added to the "simd" directive in OpenMP 5.0.
4
+ ! RUN: %flang_fc1 -flang-experimental-hlfir -emit-hlfir -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s
5
+ ! RUN: bbc -hlfir -emit-hlfir -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s
5
6
6
7
! CHECK-LABEL: func @_QPsimd()
7
8
subroutine simd
Original file line number Diff line number Diff line change 1
- ! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
1
+ ! The "thread_limit" clause was added to the "target" construct in OpenMP 5.1.
2
+ ! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=51 %s -o - | FileCheck %s
2
3
3
4
! ===============================================================================
4
5
! Target_Enter Simple
Original file line number Diff line number Diff line change 1
- ! RUN: %flang_fc1 -emit-hlfir -fopenmp %s -o - | FileCheck %s
2
- ! RUN: bbc -emit-hlfir -fopenmp %s -o - | FileCheck %s
1
+ ! The "use_device_addr" was added to the "target data" directive in OpenMP 5.0.
2
+ ! RUN: %flang_fc1 -emit-hlfir -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s
3
+ ! RUN: bbc -emit-hlfir -fopenmp -fopenmp-version=50 %s -o - | FileCheck %s
3
4
4
5
! This tests primary goal is to check the promotion of
5
6
! non-CPTR arguments from use_device_ptr to
You can’t perform that action at this time.
0 commit comments