mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Removed isPredicable().
llvm-svn: 37119
This commit is contained in:
parent
d3f1a259db
commit
f7a017dfa7
@ -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();
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user