[PATCH] D136822: [InstCombine] Allow memcpys from constant memory to readonly noalias parameters to be elided.

Patrick Walton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 23:22:10 PDT 2022


pcwalton updated this revision to Diff 471720.
pcwalton added a comment.
Herald added subscribers: Sanitizers, Enna1.
Herald added a project: Sanitizers.

Review comments addressed. I tried to fix the asan test as well; let me know if that approach looks good.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136822

Files:
  compiler-rt/test/asan/TestCases/printf-5.c
  llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  llvm/test/Transforms/InstCombine/memcpy-from-global.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136822.471720.patch
Type: text/x-patch
Size: 5058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221029/51ed2cde/attachment.bin>


More information about the llvm-commits mailing list