[PATCH] D86020: [MemCpyOptimizer] Optimize passing byref function arguments down the stack

Anatoly Trosinenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 17 09:05:34 PDT 2020


atrosinenko updated this revision to Diff 286037.
atrosinenko added a comment.

Restrict transformation to passing through `byref` arguments, not arbitrary pointers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86020

Files:
  llvm/include/llvm/IR/InstrTypes.h
  llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
  llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
  llvm/test/Transforms/MemCpyOpt/byref-memcpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86020.286037.patch
Type: text/x-patch
Size: 6515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200817/15b0667f/attachment-0001.bin>


More information about the cfe-commits mailing list