[PATCH] D88921: [MemCpyOpt] Fix thread-safety of call slot opimization

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 10:10:24 PDT 2020


nikic updated this revision to Diff 296726.
nikic added a comment.

Handle noalias arguments the same as other captures. Now this change does have a practical effect, and I had to annotate some existing tests with willreturn.


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

https://reviews.llvm.org/D88921

Files:
  llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
  llvm/test/Transforms/MemCpyOpt/callslot.ll
  llvm/test/Transforms/MemCpyOpt/loadstore-sret.ll
  llvm/test/Transforms/MemCpyOpt/sret.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88921.296726.patch
Type: text/x-patch
Size: 5484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201007/37dbbb52/attachment.bin>


More information about the llvm-commits mailing list