For the ARM integrated assembler add checking of the
authorKevin Enderby <enderby@apple.com>
Thu, 10 Apr 2014 20:18:58 +0000 (20:18 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 10 Apr 2014 20:18:58 +0000 (20:18 +0000)
commite7ef041ba4dceb57592e56369fef718a406ac2b5
tree808decea84a89ccb5bac346b70b34591c3cfa096
parenta7ff9e9e6a121b406925e9cdfa9ace2f880584e4
For the ARM integrated assembler add checking of the
alignments on vld/vst instructions.  And report errors for
alignments that are not supported.

While this is a large diff and an big test case, the changes
are very straight forward.  But pretty much had to touch
all vld/vst instructions changing the addrmode to one of the
new ones that where added will do the proper checking for
the specific instruction.

FYI, re-committing this with a tweak so MemoryOp's default
constructor is trivial and will work with MSVC 2012. Thanks
to Reid Kleckner and Jim Grosbach for help with the tweak.

rdar://11312406

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205986 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrNEON.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/neon-vld-vst-align.s [new file with mode: 0644]