Page MenuHomePhabricator

[clang][codegen] Hoist parameter attribute setting in function prolog.
ClosedPublic

Authored by hliao on Mon, May 4, 10:43 PM.

Details

Summary
  • If the coerced type is still a pointer, it should be set with proper parameter attributes, such as noalias, nonnull, and etc. Hoist that (pointer) parameter attribute setting so that the coerced pointer parameter could be marked properly.

Diff Detail

Event Timeline

hliao created this revision.Mon, May 4, 10:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptMon, May 4, 10:43 PM
hliao updated this revision to Diff 262011.Mon, May 4, 10:46 PM

Add dependency.

Harbormaster completed remote builds in B55743: Diff 262011.
rjmccall accepted this revision.Tue, May 5, 10:25 AM

LGTM.

This revision is now accepted and ready to land.Tue, May 5, 10:25 AM
This revision was automatically updated to reflect the committed changes.