This is an archive of the discontinued LLVM Phabricator instance.

[LoopIdiom] Teach the loop idiom pass how to distinguish a memcpy from a memmove
AbandonedPublic

Authored by dneilson on Mar 14 2018, 8:24 AM.

Details

Summary

This is a fix for PR25165 -- implementing basic memmove support in the
loop idiom recognizer.

Nothing fancy, just using alias analysis on memory locations to
distinguish the memcpy from the memmove case.

Diff Detail

Event Timeline

dneilson created this revision.Mar 14 2018, 8:24 AM
This revision now requires changes to proceed.Mar 14 2018, 2:05 PM
dneilson abandoned this revision.Mar 14 2018, 2:08 PM