aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-19 19:47:11 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-19 19:47:11 +0000
commit558b66d3cd536cfba11e295816a15ea6476fcd16 (patch)
tree9bc84d35cbfc3dafdd76e1cf324840d37f6b6a1c /lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parent731f2097944bfdf5b58ff1f19560a25ed15c9b2b (diff)
Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp20
1 files changed, 8 insertions, 12 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 1013ecf3ad..4a0c388d91 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -1963,18 +1963,14 @@ static StringRef SplitMnemonic(StringRef Mnemonic,
// Ignore some mnemonics we know aren't predicated forms.
//
// FIXME: Would be nice to autogen this.
- if (Mnemonic == "teq" || Mnemonic == "vceq" ||
- Mnemonic == "movs" ||
- Mnemonic == "svc" ||
- (Mnemonic == "mls" || Mnemonic == "smmls" || Mnemonic == "vcls" ||
- Mnemonic == "vmls" || Mnemonic == "vnmls") ||
- Mnemonic == "vacge" || Mnemonic == "vcge" ||
- Mnemonic == "vclt" ||
- Mnemonic == "vacgt" || Mnemonic == "vcgt" ||
- Mnemonic == "vcle" ||
- (Mnemonic == "smlal" || Mnemonic == "umaal" || Mnemonic == "umlal" ||
- Mnemonic == "vabal" || Mnemonic == "vmlal" || Mnemonic == "vpadal" ||
- Mnemonic == "vqdmlal"))
+ if (Mnemonic == "teq" || Mnemonic == "vceq" || Mnemonic == "movs" ||
+ Mnemonic == "svc" || Mnemonic == "mls" || Mnemonic == "smmls" ||
+ Mnemonic == "vcls" || Mnemonic == "vmls" || Mnemonic == "vnmls" ||
+ Mnemonic == "vacge" || Mnemonic == "vcge" || Mnemonic == "vclt" ||
+ Mnemonic == "vacgt" || Mnemonic == "vcgt" || Mnemonic == "vcle" ||
+ Mnemonic == "smlal" || Mnemonic == "umaal" || Mnemonic == "umlal" ||
+ Mnemonic == "vabal" || Mnemonic == "vmlal" || Mnemonic == "vpadal" ||
+ Mnemonic == "vqdmlal")
return Mnemonic;
// First, split out any predication code. Ignore mnemonics we know aren't