mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37374 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a4205367d
commit
f15d44cc10
@ -605,7 +605,7 @@ bool IfConverter::IfConvertDiamond(BBInfo &BBI) {
|
|||||||
// tail block, and the tail block does not have other predecessors, then
|
// tail block, and the tail block does not have other predecessors, then
|
||||||
// fold the tail block in as well.
|
// fold the tail block in as well.
|
||||||
if (BBI.TailBB &&
|
if (BBI.TailBB &&
|
||||||
BBI.TailBB->succ_size() == 1 && CvtBBI->BB->succ_size() == 1) {
|
BBI.TailBB->pred_size() == 1 && CvtBBI->BB->succ_size() == 1) {
|
||||||
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
|
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
|
||||||
BBInfo TailBBI = BBAnalysis[BBI.TailBB->getNumber()];
|
BBInfo TailBBI = BBAnalysis[BBI.TailBB->getNumber()];
|
||||||
MergeBlocks(*CvtBBI, TailBBI);
|
MergeBlocks(*CvtBBI, TailBBI);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user