]> granicus.if.org Git - clang/commit
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)
commit53b90c6143ce37544aa76a140b07defb21166f65
tree0f070142751ca11ecd0c5d399e779762b476e94a
parent9c0926d77098eef405b6c7b50cb77c54c4e9d4fc
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355660 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
test/CodeGenCXX/auto-var-init.cpp