This is an archive of the discontinued LLVM Phabricator instance.

[OpenMPOpt] Avoid pointer element type access during region merging
ClosedPublic

Authored by nikic on Mar 3 2022, 2:59 AM.

Details

Summary

Hardcode the function type as ParallelTask, which is the guaranteed pointee type of this runtime function argument (if pointee types exist). The elimination of the callee bitcast is left for InstCombine.

Diff Detail

Event Timeline

nikic created this revision.Mar 3 2022, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 2:59 AM
nikic requested review of this revision.Mar 3 2022, 2:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 2:59 AM
ormris removed a subscriber: ormris.Mar 7 2022, 9:56 AM
nikic added a reviewer: Restricted Project.Mar 10 2022, 8:31 AM
aeubanks accepted this revision.Mar 14 2022, 9:30 AM
This revision is now accepted and ready to land.Mar 14 2022, 9:30 AM
This revision was landed with ongoing or failed builds.Mar 15 2022, 1:52 AM
This revision was automatically updated to reflect the committed changes.