diff options
author | Dan Gohman <gohman@apple.com> | 2009-12-05 00:44:40 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-12-05 00:44:40 +0000 |
commit | 864e2efce2cb5d02e376933933d96074723fe77c (patch) | |
tree | fdc89493c59faaaa0ab2bc2273cd28baaff8f903 /lib/Target/CellSPU/SPUInstrInfo.cpp | |
parent | 735985fbbe3a1752b02163af0ec3ab6e6a7f0948 (diff) |
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.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/CellSPU/SPUInstrInfo.cpp b/lib/Target/CellSPU/SPUInstrInfo.cpp index ecce8e3e93..2306665e1a 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) |