This is an archive of the discontinued LLVM Phabricator instance.

[NFC][Inliner] Add Load/Store handler
ClosedPublic

Authored by vitalybuka on Aug 3 2022, 5:09 PM.

Details

Summary

This is an additional signal which may benefit sanitizers.

Diff Detail

Event Timeline

vitalybuka created this revision.Aug 3 2022, 5:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 5:09 PM
vitalybuka requested review of this revision.Aug 3 2022, 5:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 5:09 PM
kda edited the summary of this revision. (Show Details)Aug 5 2022, 9:48 AM
kda added inline comments.
llvm/lib/Analysis/InlineCost.cpp
130

An additional cost of zero? Is that correct?

vitalybuka added inline comments.Aug 5 2022, 11:05 AM
llvm/lib/Analysis/InlineCost.cpp
130

Yes. So as is it's NFC.
From my experiments on CTMark ~20 is good for sanitizers. I will try to use this constant internally. It will not be reverted I'll update upstream later.

kda accepted this revision.Aug 5 2022, 1:24 PM
This revision is now accepted and ready to land.Aug 5 2022, 1:24 PM
This revision was landed with ongoing or failed builds.Aug 5 2022, 1:42 PM
This revision was automatically updated to reflect the committed changes.