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

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 00:00:35 PDT 2018


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

Updated testcases with utils/update_test_checks.py
use isPowerOf2_64


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.167673.patch
Type: text/x-patch
Size: 19184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181001/704339fe/attachment.bin>


More information about the llvm-commits mailing list