diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-07 06:42:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 06:42:05 +0000 |
commit | e99a6caee405f12afe98dac0252febde7638a69e (patch) | |
tree | 94cbc2333286eb094098ad3250e927be939fe46e /llvm/lib/Target/ARM/ARMInstrInfo.cpp | |
parent | d004f5415591fb4ca2703517bb933bf9dd3f995f (diff) | |
download | bcm5719-llvm-e99a6caee405f12afe98dac0252febde7638a69e.tar.gz bcm5719-llvm-e99a6caee405f12afe98dac0252febde7638a69e.zip |
Rename all the M_* flags to be namespace qualified enums, and switch
all clients over to using predicates instead of these flags directly.
These are now private values which are only to be used to statically
initialize the tables.
llvm-svn: 45692
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp index fa52be8382a..2e9d802d70c 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp @@ -838,7 +838,7 @@ ARMInstrInfo::SubsumesPredicate(const std::vector<MachineOperand> &Pred1, bool ARMInstrInfo::DefinesPredicate(MachineInstr *MI, std::vector<MachineOperand> &Pred) const { const TargetInstrDescriptor *TID = MI->getDesc(); - if (!TID->ImplicitDefs && (TID->Flags & M_HAS_OPTIONAL_DEF) == 0) + if (!TID->getImplicitDefs() && !TID->hasOptionalDef()) return false; bool Found = false; |