mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
rename indbr -> indirectbr to appease the residents of #llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85351 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -31,7 +31,7 @@ unsigned InlineCostAnalyzer::FunctionInfo::
|
||||
// Eliminating a switch is a big win, proportional to the number of edges
|
||||
// deleted.
|
||||
Reduction += (SI->getNumSuccessors()-1) * 40;
|
||||
else if (isa<IndBrInst>(*UI))
|
||||
else if (isa<IndirectBrInst>(*UI))
|
||||
// Eliminating an indirect branch is a big win.
|
||||
Reduction += 200;
|
||||
else if (CallInst *CI = dyn_cast<CallInst>(*UI)) {
|
||||
|
Reference in New Issue
Block a user