diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-06-03 06:58:52 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-06-03 06:58:52 +0000 |
| commit | 95563a5ba8b44747d272f66bad585cd4caf5fbb7 (patch) | |
| tree | 31c8b8224b5de4ff8119b3658ef4a16597fe6ecc /lib/CodeGen/CGExprAgg.cpp | |
| parent | a52f6237e83863fd602bd74ac627d63425bdea08 (diff) | |
| download | clang-95563a5ba8b44747d272f66bad585cd4caf5fbb7.tar.gz clang-95563a5ba8b44747d272f66bad585cd4caf5fbb7.tar.bz2 clang-95563a5ba8b44747d272f66bad585cd4caf5fbb7.tar.xz | |
When emitting a multidimensional array new, emit the initializers for the
trailing elements as a single loop, rather than sometimes emitting a nest of
several loops. This fixes a bug where CodeGen would sometimes try to emit an
expression with the wrong type for the element being initialized. Plus various
other minor cleanups to the IR produced for array new initialization.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
