Fix edge cases of ARM shift operands in arith instructions.
authorTim Northover <Tim.Northover@arm.com>
Sat, 22 Sep 2012 11:18:19 +0000 (11:18 +0000)
committerTim Northover <Tim.Northover@arm.com>
Sat, 22 Sep 2012 11:18:19 +0000 (11:18 +0000)
commitbb5174246b5d0dfbd057b3641f5e134fe74ea0f4
treecac79e0b4506a7385ded0894152d32b25a90d78d
parent93c7c449a1351542fa5a275587187154dbedb8e0
Fix edge cases of ARM shift operands in arith instructions.

As before with load instructions, oddities like "asr #32", "rrx" could
be printed incorrectly.

Patch by Chris Lidbury.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164456 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
test/MC/ARM/arm-shift-encoding.s
test/MC/ARM/thumb-shift-encoding.s [new file with mode: 0644]