[PATCH] D40613: [LoopIdiom] Recognize unordered atomic memset
Daniel Neilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 10:24:38 PST 2017
dneilson created this revision.
This expands the loop idiom recognition pass to recognize the unordered
atomic memset pattern. This pattern is the same pattern as a regular memset
except that the stores are unordered atomic, and limited to register size.
https://reviews.llvm.org/D40613
Files:
include/llvm/IR/IRBuilder.h
lib/IR/IRBuilder.cpp
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
test/Transforms/LoopIdiom/X86/unordered-atomic-memcpy.ll
test/Transforms/LoopIdiom/X86/unordered-atomic-memset.ll
test/Transforms/LoopIdiom/unordered-atomic-memset-noarch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40613.124777.patch
Type: text/x-patch
Size: 21052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171129/2e6feea3/attachment.bin>
More information about the llvm-commits
mailing list