This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Fix PR46593: Reduction initializer missing construnctor call.
ClosedPublic

Authored by ABataev on Jul 7 2020, 12:02 PM.

Details

Summary

If user-defined reductions with the initializer are used with classes,
wthe compiler misses the constructor call whe trying to create a private
copy of the reduction variable.

Diff Detail

Event Timeline

ABataev created this revision.Jul 7 2020, 12:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2020, 12:02 PM
jdoerfert accepted this revision.Jul 15 2020, 7:45 AM

LGTM. Typo in the commit message.

This revision is now accepted and ready to land.Jul 15 2020, 7:45 AM
This revision was automatically updated to reflect the committed changes.