This is an archive of the discontinued LLVM Phabricator instance.

[SLP]Fix possible crash on unreachable incoming values sorting.
ClosedPublic

Authored by ABataev on Jul 19 2021, 4:20 AM.

Details

Summary

The incoming values for PHI nodes may come from unreachable BasicBlocks,
need to handle this case.

Diff Detail

Event Timeline

ABataev created this revision.Jul 19 2021, 4:20 AM
ABataev requested review of this revision.Jul 19 2021, 4:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2021, 4:20 AM
anton-afanasyev accepted this revision.Jul 19 2021, 4:27 AM
This revision is now accepted and ready to land.Jul 19 2021, 4:27 AM
This revision was landed with ongoing or failed builds.Jul 19 2021, 4:55 AM
This revision was automatically updated to reflect the committed changes.