This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Fix] Fix disable spmdization option
ClosedPublic

Authored by ggeorgakoudis on Aug 12 2021, 2:49 PM.

Details

Summary

Besides SPMDization, other analysis and optimization for original, frontend-generated SPMD regions uses information from the AAKernelInfoFunction attribute. This fix makes sure disabling SPMDization through the corresponding option applies only to generic mode regions, which should not be SPMDized, while it leaves unaffected the attribute state of original SPMD regions.

Diff Detail

Event Timeline

ggeorgakoudis created this revision.Aug 12 2021, 2:49 PM
ggeorgakoudis requested review of this revision.Aug 12 2021, 2:49 PM
Herald added a project: Restricted Project. · View Herald Transcript
ggeorgakoudis edited the summary of this revision. (Show Details)Aug 12 2021, 2:59 PM
jdoerfert accepted this revision.Aug 12 2021, 3:10 PM

LG, thanks for tracking this down.

This revision is now accepted and ready to land.Aug 12 2021, 3:10 PM
ggeorgakoudis edited the summary of this revision. (Show Details)Aug 12 2021, 5:57 PM
This revision was automatically updated to reflect the committed changes.