This is an archive of the discontinued LLVM Phabricator instance.

[JumpThreading] Fold br(freeze(undef))
ClosedPublic

Authored by aqjune on Jul 28 2020, 6:47 PM.

Details

Summary

This patch makes JumpThreading fold br(freeze(undef)) if the freeze instruction
is only used by the branch.

Diff Detail

Event Timeline

aqjune created this revision.Jul 28 2020, 6:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2020, 6:47 PM
aqjune requested review of this revision.Jul 28 2020, 6:47 PM
efriedma accepted this revision.Jul 29 2020, 10:38 AM

I'm a little surprised this is relevant, but sure, LGTM.

This revision is now accepted and ready to land.Jul 29 2020, 10:38 AM
This revision was automatically updated to reflect the committed changes.