[PATCH] D43181: [CodeGen] Initialize large arrays by copying from a global

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 03:29:49 PST 2018


kosarev updated this revision to Diff 134590.
kosarev added a comment.

Updated to consider the total size of the explicit initializers instead of their number. The threshold value is adjusted respectively.


https://reviews.llvm.org/D43181

Files:
  lib/CodeGen/CGExprAgg.cpp
  test/CodeGen/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43181.134590.patch
Type: text/x-patch
Size: 5383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/dd538a96/attachment.bin>


More information about the llvm-commits mailing list