[AArch64] Add some more regression tests for load pre-index update folding in the...
authorTilmann Scheller <t.scheller@samsung.com>
Mon, 2 Jun 2014 11:57:09 +0000 (11:57 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Mon, 2 Jun 2014 11:57:09 +0000 (11:57 +0000)
commitef8a99c80748f1dc7d88ddd4a80f80c088ea5aee
tree6d4076a3344d8f93a00455aa28d0f70214984a77
parentbcc4bce6b74e0dc161764095e1e854a25694ce7f
[AArch64] Add some more regression tests for load pre-index update folding in the load/store optimizer.

Add tests for the following transform:

 add x8, x8, #16
  ...
 ldr X, [x8]
  ->
 ldr X, [x8, #16]!

with X being either w0, x0, s0, d0 or q0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210018 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AArch64/ldst-opt.ll