[all-commits] [llvm/llvm-project] bedc84: [OPENMP]Fix PR47158, case 3: allow devic_typein ne...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Mon Aug 24 07:05:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bedc841a5098bc0a90bbc66328d7aab4b2c23c4a
https://github.com/llvm/llvm-project/commit/bedc841a5098bc0a90bbc66328d7aab4b2c23c4a
Author: Alexey Bataev <a.bataev at hotmail.com>
Date: 2020-08-24 (Mon, 24 Aug 2020)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/AttrImpl.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/test/AST/dump.cpp
M clang/test/OpenMP/declare_target_ast_print.cpp
Log Message:
-----------
[OPENMP]Fix PR47158, case 3: allow devic_typein nested declare target region.
OpenMP 5.0 supports nested declare target regions. So, in general,it is
allow to mark a declarationas declare target with different device_type
or link type. Patch adds support for such kind of nesting.
Differential Revision: https://reviews.llvm.org/D86239
More information about the All-commits
mailing list