This is an archive of the discontinued LLVM Phabricator instance.

[InlineFunction] Only check pointer arguments for a call
ClosedPublic

Authored by shchenz on Jun 24 2022, 7:08 AM.

Details

Summary

This is found from code review of D127202. See comment https://reviews.llvm.org/D127202#3607812

This patch does not reply on D127202. Making this patch depend on D127202 is to show the improvement in the testcase.

Diff Detail

Event Timeline

shchenz created this revision.Jun 24 2022, 7:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 7:08 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
shchenz requested review of this revision.Jun 24 2022, 7:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 7:08 AM
nikic accepted this revision.Jun 24 2022, 7:29 AM

LGTM

llvm/lib/Transforms/Utils/InlineFunction.cpp
1046–1051

Minor phrasing suggestion.

This revision is now accepted and ready to land.Jun 24 2022, 7:29 AM
This revision was landed with ongoing or failed builds.Jun 30 2022, 2:39 AM
This revision was automatically updated to reflect the committed changes.