This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] RecordReplay saves bitcode when JIT-ing
ClosedPublic

Authored by ggeorgakoudis on Jan 17 2023, 7:48 PM.

Details

Summary

This patch enables to store bitcode images when JIT is enabled for the record-and-replay functionality (see https://reviews.llvm.org/D138931). Credits to @jdoerfert for refactoring the code.

Diff Detail

Event Timeline

ggeorgakoudis created this revision.Jan 17 2023, 7:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2023, 7:48 PM
ggeorgakoudis requested review of this revision.Jan 17 2023, 7:48 PM
Herald added a project: Restricted Project. · View Herald Transcript
ggeorgakoudis edited the summary of this revision. (Show Details)Jan 17 2023, 7:51 PM
ggeorgakoudis edited the summary of this revision. (Show Details)
jdoerfert accepted this revision.Jan 18 2023, 6:31 AM

LG, nits

openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
127

There is a helper for this in utilities now. Getptrdiff or similar

132

Nit: add braces

This revision is now accepted and ready to land.Jan 18 2023, 6:31 AM
This revision was automatically updated to reflect the committed changes.