This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add support for embedding bitcode images in wrapper tool
ClosedPublic

Authored by jhuber6 on Jan 11 2022, 12:56 PM.

Details

Summary

Summary;
This patch adds support for embedding device images in the linker
wrapper tool. This will be used for performing JIT functionality in the
future.

Depends on D117048

Diff Detail

Event Timeline

jhuber6 created this revision.Jan 11 2022, 12:56 PM
jhuber6 requested review of this revision.Jan 11 2022, 12:56 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 11 2022, 12:56 PM
jhuber6 updated this revision to Diff 399373.Jan 12 2022, 10:24 AM

Update approach, improve LTO file handling for multiple outputs and don't change the LTO config.

jhuber6 updated this revision to Diff 399460.Jan 12 2022, 2:13 PM

Forgot to use hook.

ormris removed a subscriber: ormris.Jan 18 2022, 10:02 AM

It seems that this patch along with D117156 and D117246 is giving patch application failed error [https://buildkite.com/llvm-project/diff-checks/builds/82688].
arc patch is also giving the same error.

It seems that this patch along with D117156 and D117246 is giving patch application failed error [https://buildkite.com/llvm-project/diff-checks/builds/82688].
arc patch is also giving the same error.

I think what happened is I didn't include a small fix patch I had locally in the list somewhere which made the diffs not apply. I could probably try to squash them and reapply if it's important.

jhuber6 updated this revision to Diff 402926.Jan 25 2022, 8:26 AM

Rework commits.

jhuber6 updated this revision to Diff 404785.Jan 31 2022, 7:56 PM

Removing clang flag because LTO won't be supported when these land.

tianshilei1992 accepted this revision.Jan 31 2022, 8:08 PM
tianshilei1992 added a subscriber: tianshilei1992.

I'm gonna accept it for now to make it in 14. We can always come back later if we see anything wrong.

This revision is now accepted and ready to land.Jan 31 2022, 8:08 PM
jhuber6 edited the summary of this revision. (Show Details)Jan 31 2022, 8:08 PM
This revision was landed with ongoing or failed builds.Jan 31 2022, 8:12 PM
This revision was automatically updated to reflect the committed changes.