This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Compute a proper module slice for the CGSCCC pass
ClosedPublic

Authored by jdoerfert on Jul 6 2020, 6:07 PM.

Details

Summary

The module slice describes which functions we can analyze and transform
while working on an SCC as part of the CGSCC OpenMPOpt pass. So far, we
simply restricted it to the SCC. In a follow up we will need to have a
bigger scope which is why this patch introduces a proper identification
of the module slice. In short, everything that has a transitive
reference to a function in the SCC or is transitively referenced by one
is fair game.

Diff Detail

Event Timeline

jdoerfert created this revision.Jul 6 2020, 6:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 6 2020, 6:07 PM
jdoerfert updated this revision to Diff 275894.Jul 6 2020, 8:00 PM

Limit foreachUse to the SCC and not module slice

This revision is now accepted and ready to land.Jul 10 2020, 3:36 PM
This revision was automatically updated to reflect the committed changes.