[AArch64] Create proper memoperand for multi-vector stores
authorDavid Greene <greened@obbligato.org>
Tue, 30 Oct 2018 19:17:51 +0000 (19:17 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 30 Oct 2018 19:17:51 +0000 (19:17 +0000)
commit3e89fa8e088d31ea247c111b66755b2eaea443c0
tree07bc83bbfeb66e149b9a9c0c98725cb108d2e438
parent8ba32d08f723d7bf9716eb76a803f62125b63320
[AArch64] Create proper memoperand for multi-vector stores

Re-apply r345315 with testcase fixes.

Include all of the store's source vector operands when creating the
MachineMemOperand. Previously, we were missing the first operand,
making the store size seem smaller than it really is.

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

llvm-svn: 345631
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/multi-vector-store-size.ll [new file with mode: 0644]