This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Expand memcpy to vector instead of integer load/store
AbandonedPublic

Authored by nikic on Dec 8 2022, 2:10 AM.

Details

Reviewers
None
Summary

Expanding into a vector ensures that byte-wise poison is preserved.

Diff Detail

Unit TestsFailed

Event Timeline

nikic created this revision.Dec 8 2022, 2:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 2:10 AM
nikic requested review of this revision.Dec 8 2022, 2:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 8 2022, 2:10 AM
nikic abandoned this revision.Dec 12 2022, 12:37 AM

This was just for reference, I don't think we're ready to make this change, it will result in too many optimization regressions.