Patch by Gordon Keiser!
authorJoe Abbey <jabbey@arxan.com>
Tue, 26 Mar 2013 13:58:53 +0000 (13:58 +0000)
committerJoe Abbey <jabbey@arxan.com>
Tue, 26 Mar 2013 13:58:53 +0000 (13:58 +0000)
commitb78821d380b6f9514bd3b56b1c27ba367660228b
treed59e4e5de1ed471f924c543435dff1d187193dc8
parentca825ea24de2f3d819845ee01796dc6c7a45170d
Patch by Gordon Keiser!

If PC or SP is the destination, the disassembler erroneously failed with the
invalid encoding, despite the manual saying that both are fine.

This patch addresses failure to decode encoding T4 of LDR (A8.8.62) which is a
postindexed load, where the offset 0xc is applied to SP after the load occurs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178017 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
test/MC/Disassembler/ARM/thumb2.txt