This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP] Codegen for 'private' clause in 'for' directive.
ClosedPublic

Authored by ABataev on Apr 20 2015, 4:40 AM.

Details

Summary

This patch generates helper variables which used as a private copies of the corresponding original variables inside an OpenMP 'for' directive. These generated variables are initialized by default (with the default constructor, if any). In OpenMP region references to original variables are replaced by the references to these private helper variables.

Diff Detail

Repository
rL LLVM

Event Timeline

ABataev updated this revision to Diff 24013.Apr 20 2015, 4:40 AM
ABataev retitled this revision from to [OPENMP] Codegen for 'private' clause in 'for' 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.