This is an archive of the discontinued LLVM Phabricator instance.

[CallSite remova][Attributor] Replaces use of CallSite with CallBase. NFC
ClosedPublic

Authored by craig.topper on Apr 16 2020, 7:32 PM.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 16 2020, 7:32 PM
mtrofin added inline comments.Apr 16 2020, 9:04 PM
llvm/lib/Transforms/IPO/Attributor.cpp
1830

Can we capitalize i and e - the lines are already changed anyway (change size stays almost the same)

llvm/lib/Transforms/IPO/AttributorAttributes.cpp
2513

I think this can move in the if check

6277

'e' here can be capitalized, it's not used elsewhere than this line either.

craig.topper marked an inline comment as done.

Address review comments

Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2020, 10:19 PM
mtrofin accepted this revision.Apr 16 2020, 10:46 PM

LGTM, one nit, sorry I only noticed it now.

llvm/lib/Transforms/IPO/Attributor.cpp
1830

Sorry, just saw it late - and it's super-nitty; can we ++I (while at it)?

This revision is now accepted and ready to land.Apr 16 2020, 10:46 PM

Fix review comment.

mtrofin accepted this revision.Apr 17 2020, 8:25 AM
This revision was automatically updated to reflect the committed changes.