From cfa9421e167e3183e16032547299ed279e2b0806 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 31 Aug 2011 18:39:39 +0000 Subject: [PATCH] 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. llvm-svn: 138879 --- llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 274e14db9c07..bd3e8711ece4 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/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;