This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][FIX] Invalidate the SPMDCompatibilityTracker explicitly
ClosedPublic

Authored by jhuber6 on Dec 6 2021, 8:04 AM.

Details

Summary

Before SPMDzation it was sufficient to add an incompatible instruction
to the SPMDCompatibilityTracker. However, now adding instructions means
they need guarding. As calls cannot be guarded in general we need to
explicitly prevent SPMD mode.

Diff Detail

Event Timeline

jhuber6 created this revision.Dec 6 2021, 8:04 AM
jhuber6 requested review of this revision.Dec 6 2021, 8:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2021, 8:04 AM
This revision is now accepted and ready to land.Dec 6 2021, 9:10 AM
llvm/lib/Transforms/IPO/OpenMPOpt.cpp