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 | 0ff23966feb90618bec4d085095ffbc28426e691 (patch) | |
tree | e04a0cb0cec930ba0142880ca192359936aaa901 /lib/Target/ARM/ARMInstrInfo.cpp | |
parent | c17d69fa1e084668d6bb27441dbb505e2024f579 (diff) | |
download | llvm-0ff23966feb90618bec4d085095ffbc28426e691.tar.gz llvm-0ff23966feb90618bec4d085095ffbc28426e691.tar.bz2 llvm-0ff23966feb90618bec4d085095ffbc28426e691.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp index fa52be8382..2e9d802d70 100644 --- a/lib/Target/ARM/ARMInstrInfo.cpp +++ b/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; |