aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU/SPUInstrInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-12-05 00:44:40 +0000
committerDan Gohman <gohman@apple.com>2009-12-05 00:44:40 +0000
commit01696988ff3c98744cce105372803d4ed903f988 (patch)
treefdc89493c59faaaa0ab2bc2273cd28baaff8f903 /lib/Target/CellSPU/SPUInstrInfo.cpp
parentbc18967dc5cbda59461d704cc1543b4fbd57f592 (diff)
downloadexternal_llvm-01696988ff3c98744cce105372803d4ed903f988.zip
external_llvm-01696988ff3c98744cce105372803d4ed903f988.tar.gz
external_llvm-01696988ff3c98744cce105372803d4ed903f988.tar.bz2
Remove the target hook TargetInstrInfo::BlockHasNoFallThrough in favor of
MachineBasicBlock::canFallThrough(), which is target-independent and more thorough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUInstrInfo.cpp')
-rw-r--r--lib/Target/CellSPU/SPUInstrInfo.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/CellSPU/SPUInstrInfo.cpp b/lib/Target/CellSPU/SPUInstrInfo.cpp
index ecce8e3..2306665 100644
--- a/lib/Target/CellSPU/SPUInstrInfo.cpp
+++ b/lib/Target/CellSPU/SPUInstrInfo.cpp
@@ -580,10 +580,6 @@ SPUInstrInfo::InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
}
}
-bool
-SPUInstrInfo::BlockHasNoFallThrough(const MachineBasicBlock &MBB) const {
- return (!MBB.empty() && isUncondBranch(&MBB.back()));
-}
//! Reverses a branch's condition, returning false on success.
bool
SPUInstrInfo::ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond)