This is an archive of the discontinued LLVM Phabricator instance.

[CallSite removal][MemCpyOptimizer] Replace CallSite with CallBase. NFC
ClosedPublic

Authored by craig.topper on Apr 16 2020, 9:00 PM.

Details

Summary

There are also some adjustments to use MaybeAlign in here due
to CallBase::getParamAlignment() being deprecated. It would
be a little cleaner if getOrEnforceKnownAlignment was migrated
to Align/MaybeAlign.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 16 2020, 9:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2020, 9:00 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
mtrofin accepted this revision.Apr 17 2020, 8:24 AM

lgtm, one nit

llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
1353

can we capitalize i and e here?

This revision is now accepted and ready to land.Apr 17 2020, 8:24 AM
This revision was automatically updated to reflect the committed changes.