This is an archive of the discontinued LLVM Phabricator instance.

[AST][OpenMP] OpenMP single Construct contains Structured block
AbandonedPublic

Authored by lebedev.ri on Feb 1 2019, 9:36 AM.

Details

Reviewers
ABataev
Group Reviewers
Restricted Project
Summary

[[ https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-5.0.pdf | OpenMP Application Programming Interface Version 5.0 November 2018 ]], 2.8.2 single Construct, starting with page 89:

  • The single construct specifies that the associated structured block is executed by only one of the threads in the team (not necessarily the master thread), in the context of its implicit task.
  • Restrictions • A throw executed inside a single region must cause execution to resume within the same single region, and the same thread that threw the exception must catch it.

Diff Detail

Repository
rC Clang