[PATCH] D15903: Improve load/store to memcpy for aggregate

Amaury SECHET via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 13:43:16 PST 2016


deadalnix created this revision.
deadalnix added reviewers: craig.topper, spatel, dexonsmith, Prazek, chandlerc, joker.eph.
deadalnix added a subscriber: llvm-commits.

It turns out that if we don't try to do it at the store location, we can do it before any operation that alias the load, as long as no operation alias the store.

http://reviews.llvm.org/D15903

Files:
  lib/Transforms/Scalar/MemCpyOptimizer.cpp
  test/Transforms/MemCpyOpt/fca2memcpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15903.44053.patch
Type: text/x-patch
Size: 3737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160105/92116671/attachment.bin>


More information about the llvm-commits mailing list