diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2016-06-07 14:58:48 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2016-06-07 14:58:48 +0000 |
commit | 8de5f24d1085a01d41233b0dc0c67d9c6033d743 (patch) | |
tree | 1bff40c988a863fed6f259cadcc6f74d88ef6ae5 /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | |
parent | 9f02c586703061b6fa42a36c748306d262b29b97 (diff) | |
download | llvm-8de5f24d1085a01d41233b0dc0c67d9c6033d743.zip llvm-8de5f24d1085a01d41233b0dc0c67d9c6033d743.tar.gz llvm-8de5f24d1085a01d41233b0dc0c67d9c6033d743.tar.bz2 |
[ARM] Accept conditional versions of BXNS and BLXNS
These instructions end in "S" but are not flag-setting, so they need including
in the list of special cases in the assembly parser.
Differential Revision: http://reviews.llvm.org/D21077
llvm-svn: 272015
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index b9207a0..281c3fa 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -5420,6 +5420,7 @@ StringRef ARMAsmParser::splitMnemonic(StringRef Mnemonic, Mnemonic == "fsts" || Mnemonic == "fcpys" || Mnemonic == "fdivs" || Mnemonic == "fmuls" || Mnemonic == "fcmps" || Mnemonic == "fcmpzs" || Mnemonic == "vfms" || Mnemonic == "vfnms" || Mnemonic == "fconsts" || + Mnemonic == "bxns" || Mnemonic == "blxns" || (Mnemonic == "movs" && isThumb()))) { Mnemonic = Mnemonic.slice(0, Mnemonic.size() - 1); CarrySetting = true; |