[PATCH] D34566: [loop idiom Recognition] support memcpy for multiple consecutive loads and stores
DIVYA SHANMUGHAN via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 14:56:25 PDT 2017
DIVYA updated this revision to Diff 105544.
DIVYA added a comment.
- If there are multiple stores and loads ,which are consecutive, but if any of them is atomic , then it won't be converted to memcpy.
- isAtomicStoreLoad flag checks for any atomic store or load, when there are multiple stores and loads .
- If there is single store and load , then it will converted to memcpy or atomic memcpy depending on whether the store and load are atomic or not.
https://reviews.llvm.org/D34566
Files:
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/memcpy_struct_pattern.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34566.105544.patch
Type: text/x-patch
Size: 44754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/0060bcba/attachment.bin>
More information about the llvm-commits
mailing list