This is an archive of the discontinued LLVM Phabricator instance.

[MemCpyOpt] Don't hoist store that's not guaranteed to execute
ClosedPublic

Authored by nikic on Oct 9 2020, 12:11 PM.

Details

Summary

MemCpyOpt can hoist stores while load+store pairs into memcpy. This hoisting can currently result in stores being executed that weren't guaranteed to execute in the original problem.

Diff Detail

Event Timeline

nikic created this revision.Oct 9 2020, 12:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 9 2020, 12:11 PM
nikic requested review of this revision.Oct 9 2020, 12:11 PM
This revision is now accepted and ready to land.Oct 9 2020, 12:25 PM