[all-commits] [llvm/llvm-project] a1717a: [Flang][OpenMP] Added TODO checks for unsupported ...
Akash Banerjee via All-commits
all-commits at lists.llvm.org
Mon Mar 27 04:38:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1717a3e75140e1810edade4cfc199a4fa043510
https://github.com/llvm/llvm-project/commit/a1717a3e75140e1810edade4cfc199a4fa043510
Author: Akash Banerjee <Akash.Banerjee at amd.com>
Date: 2023-03-27 (Mon, 27 Mar 2023)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
Log Message:
-----------
[Flang][OpenMP] Added TODO checks for unsupported map types
This patch adds TODO checks for unspported types in the map clause for OpenMP Target directives.
Example of unsupported code:
implicit none
character(len=10) :: str1, str2(5,5)
type t
character(len=10) :: str1, str2(5,5)
end type t
type(t) :: v
!$omp target enter data map(to: str2(2,5))
!$omp target enter data map(to: v%str1)
!$omp target enter data map(to: v%str2)
!$omp target enter data map(to: v%str2(1,2))
end
Differential Revision: https://reviews.llvm.org/D146292
More information about the All-commits
mailing list