This is an archive of the discontinued LLVM Phabricator instance.

[LoopSink] Do not try to sink phi nodes.
ClosedPublic

Authored by fhahn on Mar 4 2022, 10:04 AM.

Details

Summary

Skip phi nodes in the preheader. They may not be considered loop
invariant by the assertion below.

Diff Detail

Event Timeline

fhahn created this revision.Mar 4 2022, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2022, 10:04 AM
fhahn requested review of this revision.Mar 4 2022, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2022, 10:04 AM
reames accepted this revision.Mar 5 2022, 12:55 PM

LGTM - Not sure this is the right deep fix, but it's at least reasonable.

This revision is now accepted and ready to land.Mar 5 2022, 12:55 PM
This revision was landed with ongoing or failed builds.Mar 6 2022, 3:16 AM
This revision was automatically updated to reflect the committed changes.