[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.h ARMInstrInfo.cpp
Evan Cheng
evan.cheng at apple.com
Wed May 16 13:50:41 PDT 2007
Changes in directory llvm/lib/Target/ARM:
ARMInstrInfo.h updated: 1.8 -> 1.9
ARMInstrInfo.cpp updated: 1.25 -> 1.26
---
Log message:
Removed isPredicable().
---
Diffs of the changes: (+0 -10)
ARMInstrInfo.cpp | 9 ---------
ARMInstrInfo.h | 1 -
2 files changed, 10 deletions(-)
Index: llvm/lib/Target/ARM/ARMInstrInfo.h
diff -u llvm/lib/Target/ARM/ARMInstrInfo.h:1.8 llvm/lib/Target/ARM/ARMInstrInfo.h:1.9
--- llvm/lib/Target/ARM/ARMInstrInfo.h:1.8 Tue May 15 21:01:49 2007
+++ llvm/lib/Target/ARM/ARMInstrInfo.h Wed May 16 15:50:23 2007
@@ -104,7 +104,6 @@
virtual bool ReverseBranchCondition(std::vector<MachineOperand> &Cond) const;
// Predication support.
- virtual bool isPredicatable(MachineInstr *MI) const;
virtual void PredicateInstruction(MachineInstr *MI,
std::vector<MachineOperand> &Cond) const;
};
Index: llvm/lib/Target/ARM/ARMInstrInfo.cpp
diff -u llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.25 llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.26
--- llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.25 Tue May 15 21:01:49 2007
+++ llvm/lib/Target/ARM/ARMInstrInfo.cpp Wed May 16 15:50:23 2007
@@ -423,15 +423,6 @@
return false;
}
-bool ARMInstrInfo::isPredicatable(MachineInstr *MI) const {
- const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
- if (TID->Flags & M_PREDICATED)
- return true;
-
- unsigned Opc = MI->getOpcode();
- return Opc == ARM::B || Opc == ARM::tB;
-}
-
void ARMInstrInfo::PredicateInstruction(MachineInstr *MI,
std::vector<MachineOperand> &Cond) const {
unsigned Opc = MI->getOpcode();
More information about the llvm-commits
mailing list