[AArch64] Improve load/store optimizer to handle LDUR + LDR.
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 3 Sep 2015 14:41:37 +0000 (14:41 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 3 Sep 2015 14:41:37 +0000 (14:41 +0000)
commit6f610e174b0391913be5610ec4631e6e1f0e04d1
treec0fc13cb03aaf5495b0efa6ea321d84211ee5b74
parent653064312c25cb35c95619c1be9ab32889481f77
[AArch64] Improve load/store optimizer to handle LDUR + LDR.

This patch allows the mixing of scaled and unscaled load/stores to form
load/store pairs.

PR24465
http://reviews.llvm.org/D12116
Many thanks to Ahmed and Michael for fixes and code review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246769 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
test/CodeGen/AArch64/ldp-stp-scaled-unscaled-pairs.ll [new file with mode: 0644]