diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-21 01:10:17 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-21 01:10:17 +0000 |
commit | 59174c0633fb5cde41735cfbff5744bdf837e8d9 (patch) | |
tree | d8678ba83d09900a52a00a5530f3d08c5f9dd303 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 55b20fc514678ff8ae1627cd9aef047d1f780119 (diff) |
Implement zero-initialization for array new when there is an
initializer of (). Make sure to use a simple memset() when we can, or
fall back to generating a loop when a simple memset will not
suffice. Fixes <rdar://problem/8212208>, a regression due to my work
in r107857.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions