Thumb2 assembly parsing for mul.w in IT block fix.
authorJim Grosbach <grosbach@apple.com>
Tue, 15 Nov 2011 19:29:45 +0000 (19:29 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 15 Nov 2011 19:29:45 +0000 (19:29 +0000)
commit1de0bd194540f8bab399fb39c4ba615a7b2381d3
treee74c51a881a74f8410abb124f68a38ccd519bcdc
parentb5ccb25bc229f096e8bc88d2233cd96af1552eea
Thumb2 assembly parsing for mul.w in IT block fix.

When the 3rd operand is not a low-register, and the first two operands are
the same low register, the parser was incorrectly trying to use the 16-bit
instruction encoding.

rdar://10449281

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144679 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/basic-thumb2-instructions.s