[PATCH] D153453: [MemCpyOpt] implement single BB stack-move optimization which unify the static unescaped allocas

Kohei Asano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 05:20:28 PDT 2023


khei4 updated this revision to Diff 539034.
khei4 marked 5 inline comments as done.
khei4 added a comment.

@nikic Thank you for the review!

- move Worklist and Visited set into the lambda.
- erase unused DestAlloca after the transformation
- fix typo on comments


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153453/new/

https://reviews.llvm.org/D153453

Files:
  llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
  llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
  llvm/test/Transforms/MemCpyOpt/callslot.ll
  llvm/test/Transforms/MemCpyOpt/stack-move.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153453.539034.patch
Type: text/x-patch
Size: 30590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230711/4d722859/attachment.bin>


More information about the llvm-commits mailing list