[AArch64LoadStoreOptimizer] Check aliasing correctly when creating paired loads/stores.
authorEli Friedman <efriedma@codeaurora.org>
Fri, 12 Aug 2016 20:39:51 +0000 (20:39 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Fri, 12 Aug 2016 20:39:51 +0000 (20:39 +0000)
commitf184e4befcf0df386baf71820b6f13b8250556ed
treeb3b55179585f68d6aaa1a321b84312db48b61e32
parent8f66df92ba28f7db8c63bee46780b825750ad8d7
[AArch64LoadStoreOptimizer] Check aliasing correctly when creating paired loads/stores.

The existing code accidentally skipped the aliasing check in edge cases.

Differential revision: https://reviews.llvm.org/D23372

llvm-svn: 278562
llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
llvm/test/CodeGen/AArch64/ldst-paired-aliasing.ll [new file with mode: 0644]