This is an archive of the discontinued LLVM Phabricator instance.

[llvm][NFC][CallSite] Remove CallSite from a few trivial locations
ClosedPublic

Authored by mtrofin on Apr 21 2020, 9:57 PM.

Details

Summary

Implementation details and internal (to module) APIs.

Diff Detail

Event Timeline

mtrofin created this revision.Apr 21 2020, 9:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2020, 9:58 PM
craig.topper added inline comments.Apr 21 2020, 10:21 PM
llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
730

This comment isn't relevant to this code. There used to be some code here that modified cpySrc/cpyDest. It was removed and the comment was orphaned.

I don't think we need CB. Can't we just use C directly, its already a CallInst.

mtrofin marked an inline comment as done.Apr 21 2020, 10:58 PM
This revision is now accepted and ready to land.Apr 21 2020, 11:33 PM
This revision was automatically updated to reflect the committed changes.