[PATCH] D140089: [MemCpyOpt] Add a stack-move optimization to opportunistically merge allocas together, disabled by default.
Patrick Walton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 19 16:31:45 PST 2022
pcwalton updated this revision to Diff 484132.
pcwalton added a comment.
Herald added subscribers: jeroen.dobbelaere, ormris, steven_wu.
Updated per comments. The optimization is now enabled by default and tests have been updated accordingly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140089/new/
https://reviews.llvm.org/D140089
Files:
llvm/include/llvm/Analysis/CaptureTracking.h
llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
llvm/lib/Analysis/CaptureTracking.cpp
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
llvm/test/Analysis/ScopedNoAliasAA/alias-scope-merging.ll
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-lto-defaults.ll
llvm/test/Other/new-pm-thinlto-defaults.ll
llvm/test/Transforms/MemCpyOpt/callslot.ll
llvm/test/Transforms/MemCpyOpt/callslot_badaa.ll
llvm/test/Transforms/MemCpyOpt/stack-move.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140089.484132.patch
Type: text/x-patch
Size: 89026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221220/ad5b8100/attachment-0001.bin>
More information about the llvm-commits
mailing list