[PATCH] D55365: [CodeGen] Allow mempcy/memset to generate small overlapping stores.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 6 05:31:39 PST 2018


courbet created this revision.
Herald added subscribers: jsji, eraman, javed.absar, nemanjai.

All targets either just return false here or properly model `Fast`, so I
don't think there is any reason to prevent CodeGen from doing the right
thing here.


Repository:
  rL LLVM

https://reviews.llvm.org/D55365

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/AArch64/arm64-memcpy-inline.ll
  test/CodeGen/PowerPC/jaggedstructs.ll
  test/CodeGen/PowerPC/structsinmem.ll
  test/CodeGen/PowerPC/structsinregs.ll
  test/CodeGen/X86/memcpy-from-string.ll
  test/CodeGen/X86/memset-2.ll
  test/CodeGen/X86/memset-zero.ll
  test/CodeGen/X86/unaligned-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55365.176958.patch
Type: text/x-patch
Size: 10590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181206/c544c030/attachment.bin>


More information about the llvm-commits mailing list