This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add an option to disable function internalization
ClosedPublic

Authored by jhuber6 on Jul 21 2021, 6:50 AM.

Details

Summary

Function internalization can sometimes occur in situations where we want to
keep the call sites intact. This patch adds an option to disable function
internalization and prevents the device runtime from being internalized while
creating the bitcode library.

Diff Detail

Event Timeline

jhuber6 created this revision.Jul 21 2021, 6:50 AM
jhuber6 requested review of this revision.Jul 21 2021, 6:50 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 21 2021, 6:50 AM
jdoerfert accepted this revision.Jul 21 2021, 7:38 AM

Add this to AMDGPU as well. LG

This revision is now accepted and ready to land.Jul 21 2021, 7:38 AM
jhuber6 updated this revision to Diff 360452.Jul 21 2021, 7:40 AM

Disabling internalization on AMDGPU as well.

This revision was landed with ongoing or failed builds.Jul 21 2021, 6:18 PM
This revision was automatically updated to reflect the committed changes.