-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flang][OpenMP] Add TODO message for common block privatisation
This is a temporary message until the feature is implemented and merged. Note: There is a proposed patch (https://reviews.llvm.org/D127215) Reviewed By: peixin Differential Revision: https://reviews.llvm.org/D146768
- Loading branch information
1 parent
a35e4d2
commit 90d9c1c
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s | ||
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s | ||
|
||
! CHECK: not yet implemented: Common Block in privatization clause | ||
subroutine firstprivate_common | ||
common /c/ x, y | ||
real x, y | ||
!$omp parallel firstprivate(/c/) | ||
!$omp end parallel | ||
end subroutine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s | ||
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s | ||
|
||
! CHECK: not yet implemented: Common Block in privatization clause | ||
subroutine lastprivate_common | ||
common /c/ x, y | ||
real x, y | ||
!$omp do lastprivate(/c/) | ||
do i=1,100 | ||
end do | ||
!$omp end do | ||
end subroutine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
! RUN: %not_todo_cmd bbc -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s | ||
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -o - %s 2>&1 | FileCheck %s | ||
|
||
! CHECK: not yet implemented: Common Block in privatization clause | ||
subroutine private_common | ||
common /c/ x, y | ||
real x, y | ||
!$omp parallel private(/c/) | ||
!$omp end parallel | ||
end subroutine |