This is an archive of the discontinued LLVM Phabricator instance.

[LoopLoadElim] Fix crash by always checking simplify form
ClosedPublic

Authored by mkazantsev on Apr 8 2020, 9:35 PM.

Details

Summary

Loop simplify form should always be checked because logic of
propagateStoredValueToLoadUsers relies on it (in particular, it requires preheader).

Diff Detail

Event Timeline

mkazantsev created this revision.Apr 8 2020, 9:35 PM
fedor.sergeev accepted this revision.Apr 8 2020, 10:38 PM

LGTM, please give others at least 24h to respond.

This revision is now accepted and ready to land.Apr 8 2020, 10:38 PM
fhahn accepted this revision.Apr 9 2020, 3:26 AM

LGTM.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2020, 7:36 PM