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)
commitf686be46742733054a6caa75884e4571e8cf4b61
tree8e11cdc4bba5ce8178b7ef6e8e99d9371f44bd4a
parentd9db9f90fbf5218a6edea70e49701bb110ee9180
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.

llvm-svn: 178017
llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
llvm/test/MC/Disassembler/ARM/thumb2.txt