[PATCH] D100717: [InstCombine] Transform memcpy to ptr load/stores if TBAA says so

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 23 10:30:09 PDT 2021


aqjune updated this revision to Diff 340105.
aqjune added a comment.

extend the test case, split the 32bit cast into a separate file to memcpy 4 bytes only


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100717

Files:
  llvm/include/llvm/IR/Metadata.h
  llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
  llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
  llvm/test/Transforms/InstCombine/memcpy-tbaa.ll
  llvm/test/Transforms/InstCombine/memcpy-tbaa32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100717.340105.patch
Type: text/x-patch
Size: 8233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210423/3a36fc2c/attachment.bin>


More information about the llvm-commits mailing list