This is an archive of the discontinued LLVM Phabricator instance.

[X86] Remove dead code.
ClosedPublic

Authored by courbet on Apr 20 2017, 2:45 AM.

Details

Summary

Remove the (dead) option for X86 memset to copy ualigned bytes with a second REPMOVS. It's not efficient to copy <8 bytes with this instruction anyway.

Diff Detail

Event Timeline

courbet created this revision.Apr 20 2017, 2:45 AM
This revision is now accepted and ready to land.Apr 20 2017, 8:54 AM
andreadb accepted this revision.Apr 20 2017, 8:55 AM
andreadb added a subscriber: andreadb.

LGTM. Thanks!

courbet closed this revision.Apr 21 2017, 1:03 AM

This was submitted as r300952. Thanks.