[PATCH] D35035: [InstCombine] Prevent memcpy generation for small data size

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 21 12:36:53 PDT 2018


hiraditya updated this revision to Diff 170348.
hiraditya added a comment.

Fix testcases and address comments


Repository:
  rL LLVM

https://reviews.llvm.org/D35035

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/DebugInfo/X86/array2.ll
  test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll
  test/Transforms/InstCombine/alloca.ll
  test/Transforms/InstCombine/element-atomic-memintrins.ll
  test/Transforms/InstCombine/memcpy-to-load.ll
  test/Transforms/InstCombine/memmove.ll
  test/Transforms/InstCombine/pr31990_wrong_memcpy.ll
  test/Transforms/InstCombine/snprintf.ll
  test/Transforms/InstCombine/sprintf-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35035.170348.patch
Type: text/x-patch
Size: 19050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181021/03daf42f/attachment.bin>


More information about the llvm-commits mailing list