[PATCH] D91576: [MemCpyOpt] Correctly merge alias scopes during call slot optimization

Di Mo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 15:21:04 PST 2020


modimo updated this revision to Diff 308796.
modimo edited the summary of this revision.
modimo added a comment.

Go with intersection of domains then union the scopes within those domains as discussed. Updating tests to match latest behavior.


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

https://reviews.llvm.org/D91576

Files:
  llvm/include/llvm/Analysis/ScopedNoAliasAA.h
  llvm/lib/Analysis/ScopedNoAliasAA.cpp
  llvm/lib/IR/Metadata.cpp
  llvm/test/Analysis/ScopedNoAliasAA/alias-scope-merging.ll
  llvm/test/Transforms/GVN/noalias.ll
  llvm/test/Transforms/InstCombine/fold-phi-load-metadata.ll
  llvm/test/Transforms/MemCpyOpt/callslot_badaa.ll
  llvm/test/Transforms/NewGVN/noalias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91576.308796.patch
Type: text/x-patch
Size: 12629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201201/87f9c2cc/attachment.bin>


More information about the llvm-commits mailing list