ARM assembler should accept shift-by-zero for any shifted-immediate operand.
authorJim Grosbach <grosbach@apple.com>
Thu, 22 Dec 2011 18:04:04 +0000 (18:04 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 22 Dec 2011 18:04:04 +0000 (18:04 +0000)
commit8d9550bde95c8d128e7bf62e9e65dec1854e2d1d
tree4fc7803077b490a6ba226c2b17864323e3008f80
parentde626ad8726677328e10dbdc15011254214437d7
ARM assembler should accept shift-by-zero for any shifted-immediate operand.

Just treat it as-if the shift wasn't there at all. 'as' compatibility.

rdar://10604767

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147153 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/arm-aliases.s [new file with mode: 0644]