This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Correctly default to Generic if exec_mode is not present
ClosedPublic

Authored by jhuber6 on Aug 17 2021, 4:43 PM.

Details

Summary

Currently, the runtime returns an error when the exec_mode global is
not present. The expected behvaiour is that the region will default to
Generic. This prevents global constructors from being called because
they do not contain execution mode globals.

Diff Detail

Event Timeline

jhuber6 requested review of this revision.Aug 17 2021, 4:43 PM
jhuber6 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2021, 4:43 PM
This revision is now accepted and ready to land.Aug 18 2021, 7:42 AM
This revision was landed with ongoing or failed builds.Aug 18 2021, 8:24 AM
This revision was automatically updated to reflect the committed changes.