This is an archive of the discontinued LLVM Phabricator instance.

IR: Rename Argument::hasPassPointeeByValueAttr to prepare for byref
ClosedPublic

Authored by arsenm on Jun 29 2020, 12:26 PM.

Details

Summary

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 also needs to
contextually differ, and will help eliminate a few places still
relying on pointee element types.

Diff Detail

Event Timeline

arsenm created this revision.Jun 29 2020, 12:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2020, 12:26 PM
This revision is now accepted and ready to land.Jul 14 2020, 5:14 PM