]> granicus.if.org Git - llvm/commit
[AArch64] Fix incorrect MachinePointerInfo in splitStoreSplat
authorJohn Brawn <john.brawn@arm.com>
Mon, 6 Feb 2017 18:07:20 +0000 (18:07 +0000)
committerJohn Brawn <john.brawn@arm.com>
Mon, 6 Feb 2017 18:07:20 +0000 (18:07 +0000)
commit5694331625f4a5ecabd51127c264b112455c9571
tree3597bad1933b4dc05c7660f5c7c811f7520bd74f
parente7cc4f3c599a28d02d0e01f4bf5cd3f9f4532067
[AArch64] Fix incorrect MachinePointerInfo in splitStoreSplat

When splitting up one store into several in splitStoreSplat we have to
make sure we get the MachinePointerInfo right, otherwise alias
analysis thinks they all store to the same location. This can then
cause invalid scheduling later on.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294203 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/ldst-zero.ll [new file with mode: 0644]
test/CodeGen/AArch64/misched-stp.ll [new file with mode: 0644]