aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-31 18:39:39 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-31 18:39:39 +0000
commitb80ab8e369d13673c7fec81f07d1c9718c6eec7b (patch)
treebf1cc440e05b70ba745dc3588b2dd953c7a63bff /lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parent62bb16cfd10dd271eab6c31d982bca4d79138602 (diff)
Remove FIXME. Thumb2 MOV instruction will use separate custom tricks.
When we want encoding T3 (the wide encoding), we can explicitly check for that and twiddle the CanAcceptCarrySet accordingly. For now, just correctly handle encodings T1 and T2 when in Thumb2 mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 274e14db9c..bd3e8711ec 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -3004,9 +3004,7 @@ getMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet,
Mnemonic == "rsb" || Mnemonic == "rsc" || Mnemonic == "orn" ||
Mnemonic == "sbc" || Mnemonic == "mla" || Mnemonic == "umull" ||
Mnemonic == "eor" || Mnemonic == "smlal" || Mnemonic == "neg" ||
- // FIXME: We need a better way. This really confused Thumb2
- // parsing for 'mov'.
- (Mnemonic == "mov" && !isThumbOne())) {
+ (Mnemonic == "mov" && !isThumb())) {
CanAcceptCarrySet = true;
} else {
CanAcceptCarrySet = false;