Removed isPredicable().
authorEvan Cheng <evan.cheng@apple.com>
Wed, 16 May 2007 20:50:23 +0000 (20:50 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 16 May 2007 20:50:23 +0000 (20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37119 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h

index de9ea48b26565a8a88b2efe5fe47d5783fb1d212..b631124b6eb03461daff0ef8c497453ce4064900 100644 (file)
@@ -423,15 +423,6 @@ ReverseBranchCondition(std::vector<MachineOperand> &Cond) const {
   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();
index d51b9bd74bec42b4345d9ebab2c1f43dd6baf3da..cb0b812e161eb140cd71076b10851c6b885d82ad 100644 (file)
@@ -104,7 +104,6 @@ public:
   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;
 };