aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMBaseInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-10 01:38:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-10 01:38:27 +0000
commitf15238c4648722b59ee418119cf3f5ea425c37aa (patch)
tree10ad34e6aa7dc112a99bf417ae21b346b6bb1055 /lib/Target/ARM/ARMBaseInstrInfo.cpp
parent6028e5c3ef8a2733f103a04a7d54116e7601b85e (diff)
downloadexternal_llvm-f15238c4648722b59ee418119cf3f5ea425c37aa.zip
external_llvm-f15238c4648722b59ee418119cf3f5ea425c37aa.tar.gz
external_llvm-f15238c4648722b59ee418119cf3f5ea425c37aa.tar.bz2
Move isPredicated from .cpp to .h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.cpp')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index f659cb5..f7e634a 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -338,11 +338,6 @@ ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const {
return false;
}
-bool ARMBaseInstrInfo::isPredicated(const MachineInstr *MI) const {
- int PIdx = MI->findFirstPredOperandIdx();
- return PIdx != -1 && MI->getOperand(PIdx).getImm() != ARMCC::AL;
-}
-
bool ARMBaseInstrInfo::
PredicateInstruction(MachineInstr *MI,
const SmallVectorImpl<MachineOperand> &Pred) const {