This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Fix PR47158, case 3: allow devic_typein nested declare target region.
ClosedPublic

Authored by ABataev on Aug 19 2020, 12:55 PM.

Details

Summary

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.

Diff Detail

Event Timeline

ABataev created this revision.Aug 19 2020, 12:55 PM
Herald added a project: Restricted Project. · View Herald Transcript
ABataev requested review of this revision.Aug 19 2020, 12:55 PM
cchen accepted this revision.Aug 21 2020, 11:18 AM

LGTM

This revision is now accepted and ready to land.Aug 21 2020, 11:18 AM