[PATCH] D23470: [memcpyopt] Memcpy-memcpy dependence isn't detected across basic blocks
Patrick Walton via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 12 15:47:55 PDT 2016
pcwalton created this revision.
pcwalton added reviewers: dberlin, majnemer, hfinkel.
pcwalton added a subscriber: llvm-commits.
Make the memory dependence queries in the memcpy optimizer nonlocal.
This eliminates 28% of the llvm.memcpy calls in librustc.
Fixes PR28958.
https://reviews.llvm.org/D23470
Files:
include/llvm/Analysis/MemoryDependenceAnalysis.h
lib/Analysis/MemDepPrinter.cpp
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Scalar/MemCpyOptimizer.cpp
test/Transforms/MemCpyOpt/nonlocal-memcpy-memcpy.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23470.67929.patch
Type: text/x-patch
Size: 8648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160812/7290c5da/attachment.bin>
More information about the llvm-commits
mailing list