Add missing load/store flags to thumb2 instructions.
authorPete Cooper <peter_cooper@apple.com>
Thu, 22 Oct 2015 01:48:57 +0000 (01:48 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 22 Oct 2015 01:48:57 +0000 (01:48 +0000)
commitad5bea8202236e8b57c30167635d5c1eb0851092
tree98f545721adac5b34b46b8d5b0192a09fb4fb7bd
parente7b7bf7e7548906611be262adeab4931e61f7690
Add missing load/store flags to thumb2 instructions.

These were the cause of a verifier error when building 7zip with
-verify-machineinstrs.  Running 'make check' with the verifier
triggered the same error on the test here so i've updated the test
to run the verifier on one of its runs instead of adding a new one.

While looking at this code, there was a stale comment that these
instructions were only used for disassembly.  This probably used to
be the case, but they are now used in the 'ARM load / store optimization pass' too.

This reapplies r242300 which was reverted in r242428 due to bot failures.

Ultimately those failures were spurious and completely unrelated to this commit.  I reverted this
at the time because it was thought to be at fault.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250969 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/ARM/ldrd.ll