This is an archive of the discontinued LLVM Phabricator instance.

[MachineBasicBlock] Fix a typo in function copySuccessor
ClosedPublic

Authored by Carrot on Sep 9 2020, 2:51 PM.

Details

Summary

The condition used decide if need to copy probability should be reversed. Looks like a typo.

Diff Detail

Event Timeline

Carrot created this revision.Sep 9 2020, 2:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2020, 2:51 PM
Carrot requested review of this revision.Sep 9 2020, 2:51 PM
Carrot added a reviewer: xur.Sep 10 2020, 1:00 PM
xur accepted this revision.Sep 11 2020, 1:40 PM

Yes. This looks a typo to me too.

LGTM.

This revision is now accepted and ready to land.Sep 11 2020, 1:40 PM
This revision was automatically updated to reflect the committed changes.