[PATCH] D46658: [InstCombine] Unify handling of atomic memtransfer with non-atomic memtransfer

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 12:41:22 PDT 2018


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

- Don't multiply length by element size for atomic memtransfer intrinsics.
- Add tests to show proper behaviour in this case.


Repository:
  rL LLVM

https://reviews.llvm.org/D46658

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  lib/Transforms/InstCombine/InstCombineInternal.h
  test/Transforms/InstCombine/element-atomic-memcpy-to-loads.ll
  test/Transforms/InstCombine/element-atomic-memintrins.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46658.145987.patch
Type: text/x-patch
Size: 36507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180509/099160b5/attachment-0001.bin>


More information about the llvm-commits mailing list