[PATCH] D82801: IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 12:29:03 PDT 2020


arsenm created this revision.
arsenm added reviewers: rjmccall, jdoerfert, efriedma, rnk.
Herald added subscribers: hiraditya, wdng.
Herald added a project: LLVM.

When the byref attribute is added, there will need to be two similar
functions for the existing cases which have an associate value copy,
and byref which does not. Most, but not all of the existing uses will
use the existing version.

      

The associated size function added by D82679 <https://reviews.llvm.org/D82679> also needs to
contextually differ, and will help eliminate a few places still
relying on pointee element types.


https://reviews.llvm.org/D82801

Files:
  llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h
  llvm/include/llvm/IR/Argument.h
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/IR/Function.cpp
  llvm/lib/IR/Mangler.cpp
  llvm/lib/Target/ARM/ARMCallLowering.cpp
  llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/lib/Transforms/Utils/InlineFunction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82801.274199.patch
Type: text/x-patch
Size: 7051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200629/37a569f0/attachment.bin>


More information about the llvm-commits mailing list