[PATCH] D33243: [Atomics][LoopIdiom] Recognize unordered atomic memcpy

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 12:16:02 PDT 2017


dneilson updated this revision to Diff 100907.
dneilson added a comment.

- Remove use of RTLIB in loop idiom. Results in a circular dependence in libs, so we can't use it there. Instead of querying RTLIB for allowable store sizes, we query the scalar register bit width from TTI.


https://reviews.llvm.org/D33243

Files:
  include/llvm/IR/IRBuilder.h
  lib/IR/IRBuilder.cpp
  lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  test/Transforms/LoopIdiom/unordered-atomic-memcpy.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33243.100907.patch
Type: text/x-patch
Size: 26880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170531/8d61e6d2/attachment.bin>


More information about the llvm-commits mailing list