This is an archive of the discontinued LLVM Phabricator instance.

[SimpleLoopUnswitch] Fix an assert in injectPendingInvariantConditions
ClosedPublic

Authored by skatkov on Feb 19 2023, 10:21 PM.

Details

Summary

Since canonicalizeForInvariantConditionInjection is introduced the
in loop successor may be the second successor.

Diff Detail

Event Timeline

skatkov created this revision.Feb 19 2023, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2023, 10:21 PM
skatkov requested review of this revision.Feb 19 2023, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2023, 10:21 PM
mkazantsev accepted this revision.Feb 19 2023, 10:23 PM

LG, thanks!

This revision is now accepted and ready to land.Feb 19 2023, 10:23 PM
This revision was landed with ongoing or failed builds.Feb 19 2023, 10:27 PM
This revision was automatically updated to reflect the committed changes.