projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove templates from CostTableLookup functions. All instantiations had the same...
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCFastISel.cpp
diff --git
a/lib/Target/PowerPC/PPCFastISel.cpp
b/lib/Target/PowerPC/PPCFastISel.cpp
index cc288cd73d48561b22bc1aa8879ba98764d6a5b3..38477018ea005988d9a3eef2d504bc23b67664a8 100644
(file)
--- a/
lib/Target/PowerPC/PPCFastISel.cpp
+++ b/
lib/Target/PowerPC/PPCFastISel.cpp
@@
-775,8
+775,7
@@
bool PPCFastISel::SelectBranch(const Instruction *I) {
BuildMI(*BrBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::BCC))
.addImm(PPCPred).addReg(CondReg).addMBB(TBB);
BuildMI(*BrBB, FuncInfo.InsertPt, DbgLoc, TII.get(PPC::BCC))
.addImm(PPCPred).addReg(CondReg).addMBB(TBB);
- fastEmitBranch(FBB, DbgLoc);
- FuncInfo.MBB->addSuccessor(TBB);
+ finishCondBranch(BI->getParent(), TBB, FBB);
return true;
}
} else if (const ConstantInt *CI =
return true;
}
} else if (const ConstantInt *CI =