Make sure that BRCOND branches can be converted into long branches too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman
2005-04-10 01:48:29 +00:00
parent a0e3e9474f
commit 27499e3f1b
2 changed files with 4 additions and 2 deletions

View File

@@ -1022,7 +1022,9 @@ void ISel::SelectBranchCC(SDOperand N)
}
}
} else {
BuildMI(BB, Opc, 2).addReg(PPC::CR0).addMBB(Dest);
BuildMI(BB, PPC::COND_BRANCH, 4).addReg(PPC::CR0).addImm(Opc)
.addMBB(Dest).addMBB(It);
//BuildMI(BB, Opc, 2).addReg(PPC::CR0).addMBB(Dest);
}
return;
}