[llvm-commits] [llvm] r135507 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Jim Grosbach
grosbach at apple.com
Tue Jul 19 12:47:11 PDT 2011
Author: grosbach
Date: Tue Jul 19 14:47:11 2011
New Revision: 135507
URL: http://llvm.org/viewvc/llvm-project?rev=135507&view=rev
Log:
Tidy up.
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=135507&r1=135506&r2=135507&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Tue Jul 19 14:47:11 2011
@@ -1963,18 +1963,14 @@
// 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
More information about the llvm-commits
mailing list