mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
fix wonky indentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b79a59dcfc
commit
6ce644392e
@ -359,14 +359,14 @@ bool X86InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
|
||||
isTerminatorInstr((--I)->getOpcode()))
|
||||
return true;
|
||||
|
||||
// If the block ends with X86::JMP and a COND_BRANCH, handle it.
|
||||
// If the block ends with X86::JMP and a conditional branch, handle it.
|
||||
X86::CondCode BranchCode = GetCondFromBranchOpc(SecondLastInst->getOpcode());
|
||||
if (BranchCode != X86::COND_INVALID && LastInst->getOpcode() == X86::JMP) {
|
||||
TBB = SecondLastInst->getOperand(0).getMachineBasicBlock();
|
||||
Cond.push_back(MachineOperand::CreateImm(BranchCode));
|
||||
FBB = LastInst->getOperand(0).getMachineBasicBlock();
|
||||
return false;
|
||||
}
|
||||
TBB = SecondLastInst->getOperand(0).getMachineBasicBlock();
|
||||
Cond.push_back(MachineOperand::CreateImm(BranchCode));
|
||||
FBB = LastInst->getOperand(0).getMachineBasicBlock();
|
||||
return false;
|
||||
}
|
||||
|
||||
// Otherwise, can't handle this.
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user