Variable auto-init: split out small arrays
authorJF Bastien <jfbastien@apple.com>
Fri, 8 Mar 2019 01:26:49 +0000 (01:26 +0000)
committerJF Bastien <jfbastien@apple.com>
Fri, 8 Mar 2019 01:26:49 +0000 (01:26 +0000)
commitb5e5bc760e73d613c109519f962a2e62bfc53430
tree8368dbd97544b048533690cd115e10466d4a7cbf
parent382ede4544a8902f38cea5680f1625ec3ac684dc
Variable auto-init: split out small arrays

Summary: Following up with r355181, initialize small arrays as well.

LLVM stage2 shows a tiny size gain.

<rdar://48523005>

Reviewers: glider, pcc, kcc, rjmccall

Subscribers: jkorous, dexonsmith, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58885

llvm-svn: 355660
clang/lib/CodeGen/CGDecl.cpp
clang/test/CodeGenCXX/auto-var-init.cpp