This is an archive of the discontinued LLVM Phabricator instance.

[OMPIRBuilder] Fix module finalization
Needs ReviewPublic

Authored by domada on Jul 27 2023, 5:31 AM.

Details

Summary

OMP offload module metadata should be created only when module generation is finalized. If we finalize LLVM IR function we should not create omp offload metadata.

Diff Detail

Event Timeline

domada created this revision.Jul 27 2023, 5:31 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
domada requested review of this revision.Jul 27 2023, 5:31 AM
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJul 27 2023, 5:31 AM