Fix the handling of edge cases in ARM shifted operands.
authorTim Northover <Tim.Northover@arm.com>
Sat, 22 Sep 2012 11:18:12 +0000 (11:18 +0000)
committerTim Northover <Tim.Northover@arm.com>
Sat, 22 Sep 2012 11:18:12 +0000 (11:18 +0000)
commit93c7c449a1351542fa5a275587187154dbedb8e0
tree090aa4c36f20481371bbe181268f9adf30736a57
parent23bd47c2d6d3c0735736bd0994ae116f534d9992
Fix the handling of edge cases in ARM shifted operands.

This patch fixes load/store instructions to handle less common cases
like "asr #32", "rrx" properly throughout the MC layer.

Patch by Chris Lidbury.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164455 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
test/MC/ARM/arm-shift-encoding.s [new file with mode: 0644]
test/MC/ARM/diagnostics.s