This is an archive of the discontinued LLVM Phabricator instance.

[OPENMP]Fix PR48571: critical/master in outlined contexts cause crash.
ClosedPublic

Authored by ABataev on Mar 24 2021, 9:54 AM.

Details

Summary

If emit inlined region for master/critical directives, no need to clear
lambda/block context data, otherwise the variables cannot be found and
it causes a crash at compile time.

Diff Detail

Event Timeline

ABataev created this revision.Mar 24 2021, 9:54 AM
ABataev requested review of this revision.Mar 24 2021, 9:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2021, 9:54 AM
Herald added a subscriber: sstefan1. · View Herald Transcript
jdoerfert accepted this revision.Mar 24 2021, 10:03 AM

LG, thanks

This revision is now accepted and ready to land.Mar 24 2021, 10:03 AM
This revision was landed with ongoing or failed builds.Mar 24 2021, 10:16 AM
This revision was automatically updated to reflect the committed changes.