[MachineBasicBlock] Fix a typo in function copySuccessor
authorGuozhi Wei <carrot@google.com>
Tue, 15 Sep 2020 16:18:18 +0000 (09:18 -0700)
committerGuozhi Wei <carrot@google.com>
Tue, 15 Sep 2020 16:18:18 +0000 (09:18 -0700)
commit243ffd0cade71ddca9b0dffec1c8e9084b0f7745
treee150b8ac86ac64e2a0cf682bd7d128d5ae7ad8c5
parent74a9c6d7e1c49cd0e3a8e8072b8aa03f7a84caff
[MachineBasicBlock] Fix a typo in function copySuccessor

The condition used to decide if need to copy probability should be reversed.

Differential Revision: https://reviews.llvm.org/D87417
llvm/lib/CodeGen/MachineBasicBlock.cpp