[PATCH] D44477: [LoopIdiom] Teach the loop idiom pass how to distinguish a memcpy from a memmove
Daniel Neilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 14 08:24:23 PDT 2018
dneilson created this revision.
dneilson added reviewers: bkramer, mcrosier, chandlerc.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D44477
Files:
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/basic-address-space.ll
test/Transforms/LoopIdiom/basic.ll
test/Transforms/LoopIdiom/memmove.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44477.138368.patch
Type: text/x-patch
Size: 15025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180314/3f07cd3c/attachment.bin>
More information about the llvm-commits
mailing list