This is an archive of the discontinued LLVM Phabricator instance.

[Memcpy Loop Lowering] Only calcualte the residual size/bytes copied when its needed.
ClosedPublic

Authored by sfertile on Dec 13 2017, 1:28 PM.

Details

Summary

If the loop operand type is int8 then there will be no residual loop for the unknown size expansion. This patch defers creating the residual size and bytes copied values when they aren't needed.

Diff Detail

Repository
rL LLVM

Event Timeline

sfertile created this revision.Dec 13 2017, 1:28 PM
This revision is now accepted and ready to land.Dec 14 2017, 10:50 AM
sfertile closed this revision.Dec 18 2017, 8:06 AM

committed in r320929