OSDN Git Service

[ARM] Thumb2 LDR (literal) should accept PC as the destination
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 10 Nov 2016 13:20:41 +0000 (13:20 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 10 Nov 2016 13:20:41 +0000 (13:20 +0000)
commit4a04eb017b3d33179693325e5db8ad2c41e64c69
tree7b1341f4602f75ae505597b6fcfb9e5c06b91177
parentb2e86a3cab877dd3136faa091779745079c162cd
[ARM] Thumb2 LDR (literal) should accept PC as the destination

The version of this instruction with the .w suffix already correctly accepts
this, but the alias without the .w did not.

Differential Revision: https://reviews.llvm.org/D26499

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286446 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
test/MC/ARM/basic-thumb2-instructions.s