[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)
commitcfbacc8a6501f151348dffbc3328e246061878b3
tree475d77cd503d3936b654a50814d030c5c98870e0
parent7d028298ceecaed3270f947baaea94b58965e642
[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.

llvm-svn: 210018
llvm/test/CodeGen/AArch64/ldst-opt.ll