Page MenuHomePhabricator

[Inline] Copy "null-pointer-is-valid" attribute in caller.
ClosedPublic

Authored by manojgupta on Jul 30 2018, 12:06 PM.

Details

Summary

Normally, inling does not happen if caller does not have
"null-pointer-is-valid"="true" attibute but callee has it.

However, alwaysinline may force callee to be inlined.
In this case, if the caller has the "null-pointer-is-valid"="true"
attribute, copy the attribute to caller.

Diff Detail

Repository
rL LLVM

Event Timeline

manojgupta created this revision.Jul 30 2018, 12:06 PM
This revision is now accepted and ready to land.Jul 30 2018, 12:29 PM
This revision was automatically updated to reflect the committed changes.

Congrats on D50000 :)

๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰