[PATCH] D100870: [MemCpyOpt] Allow variable lengths in memcpy optimizer

Olle Fredriksson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 13:54:30 PDT 2021


ollef updated this revision to Diff 338988.
ollef added a comment.

- [MemCpyOpt] Avoid constant int check when checking for undef content


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100870

Files:
  llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
  llvm/test/Transforms/MemCpyOpt/variable-sized-memcpy-memcpy.ll
  llvm/test/Transforms/MemCpyOpt/variable-sized-memcpy-uninit.ll
  llvm/test/Transforms/MemCpyOpt/variable-sized-memset-memcpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100870.338988.patch
Type: text/x-patch
Size: 19509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/fcd9d64f/attachment.bin>


More information about the llvm-commits mailing list