This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP] Initial codegen for 'single' directive.
ClosedPublic

Authored by ABataev on Jan 18 2015, 9:33 PM.

Details

Summary

This patch emits the following code for the single directive:

#pragma omp single
<body>

<---->

if(__kmpc_single(...)) {
  <body>
  __kmpc_end_single(...);
}

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev updated this revision to Diff 18365.Jan 18 2015, 9:33 PM
ABataev retitled this revision from to [OPENMP] Initial codegen for 'single' directive..
ABataev updated this object.
ABataev edited the test plan for this revision. (Show Details)
ABataev added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.