Fix some invalid alignments for Neon vld-dup and vld/st-lane instructions.
authorBob Wilson <bob.wilson@apple.com>
Fri, 10 Dec 2010 19:37:42 +0000 (19:37 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 10 Dec 2010 19:37:42 +0000 (19:37 +0000)
commita92bac64cb75853c65a6146e015c2bf60c710869
tree2692ed915ca4d309a99b8220caeec647a4cd3e81
parent568f528c997505706d3d02a31517338ef7dc2d17
Fix some invalid alignments for Neon vld-dup and vld/st-lane instructions.
Alignments smaller than the total size of the memory being loaded or stored,
unless the alignment is 8 bytes, are not allowed.  Add tests for this, too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121506 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
test/CodeGen/ARM/vlddup.ll
test/CodeGen/ARM/vldlane.ll