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.
Paths
| Differential D44477
[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
Diff Detail
Revision Contents
Diff 138368 lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/basic-address-space.ll
test/Transforms/LoopIdiom/basic.ll
test/Transforms/LoopIdiom/memmove.ll
|