[PATCH] D30124: [ARM] Fix insert point for store rescheduling.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 16:18:27 PST 2017
efriedma created this revision.
Herald added subscribers: rengolin, aemerson.
In ARMPreAllocLoadStoreOpt::RescheduleOps, LastOp should be the last operation which we want to merge. If we break out of the loop because an operation has the wrong offset, we shouldn't use that operation as LastOp.
This patch fixes some trivial cases where we would fail to move stores.
Repository:
rL LLVM
https://reviews.llvm.org/D30124
Files:
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
test/CodeGen/ARM/prera-ldst-insertpt.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30124.88987.patch
Type: text/x-patch
Size: 5946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170218/1fcf9936/attachment.bin>
More information about the llvm-commits
mailing list