This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add check for hot_teams array
ClosedPublic

Authored by jlpeyton on Aug 13 2018, 10:41 AM.

Details

Summary

If hot teams are not being used, this code could seg fault without the added check, and does so when composability is used in conjunction with nesting. The fix prevents the segfault.

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton created this revision.Aug 13 2018, 10:41 AM
hbae accepted this revision.Aug 23 2018, 8:09 AM

LGTM.

This revision is now accepted and ready to land.Aug 23 2018, 8:09 AM
This revision was automatically updated to reflect the committed changes.