[ARM64] Fix wrong comment in load/store optimization pass.
authorTilmann Scheller <t.scheller@samsung.com>
Fri, 16 May 2014 16:50:13 +0000 (16:50 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Fri, 16 May 2014 16:50:13 +0000 (16:50 +0000)
commit18fc3275c1ced483ca345c4912141e1ab3ed1920
treee91122ca057bb0bba2e350adba60ee4748d2a89a
parent54978b364537c9030f895741a48a7c4a025461e9
[ARM64] Fix wrong comment in load/store optimization pass.

ldr x1, [x0, #64]
add x0, x0, #64
 ->
ldr x1, [x0], #64

is not a valid transformation, the correct transformation (and what the code actually does) is:

ldr x1, [x0, #64]
add x0, x0, #64
 ->
ldr x1, [x0, #64]!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208998 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64LoadStoreOptimizer.cpp