OSDN Git Service

[Thumb2] Improve disassembly of memory hints
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 23 Oct 2014 08:52:58 +0000 (08:52 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 23 Oct 2014 08:52:58 +0000 (08:52 +0000)
commit9982879c4e653cb543e4a09bb72d0e4acb7926fa
tree9c621ddef60ff93765cc5d50c76f9f2b6b649aca
parentbe9668675aa2c3a602f71e49da84556d9813f778
[Thumb2] Improve disassembly of memory hints

Currently, the ARM disassembler will disassemble the Thumb2 memory hint
instructions (PLD, PLDW and PLI), even for targets which do not have
these instructions. This patch adds the required checks to the
disassmebler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220472 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
test/MC/Disassembler/ARM/thumb2-preloads.txt [new file with mode: 0644]