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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D15903
Improve load/store to memcpy for aggregate ClosedPublic Authored by deadalnix on Jan 5 2016, 1:43 PM.
Details Summary 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.
Diff Detail
Event Timelinedeadalnix updated this object. This revision is now accepted and ready to land.Jan 5 2016, 4:24 PM Closed by commit rL256923: Improve load/store to memcpy for aggregate (authored by deadalnix). · Explain WhyJan 6 2016, 1:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 44099 llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/trunk/test/Transforms/MemCpyOpt/fca2memcpy.ll
|