Reverted in r332886; I added a testcase for the miscompile below
to test/CodeGenCXX/reference-init.cpp
On 21 May 2018 at 13:28, Richard Smith wrote:
> On 21 May 2018 at 13:22, Richard Smith wrote:
>
>> On 21 May 2018 at 09:09, Serge Pavlov via cfe-commits <
>> cfe-commits@lists.llvm.org> wrote:
On 21 May 2018 at 13:22, Richard Smith wrote:
> On 21 May 2018 at 09:09, Serge Pavlov via cfe-commits <
> cfe-commits@lists.llvm.org> wrote:
>
>> Author: sepavloff
>> Date: Mon May 21 09:09:54 2018
>> New Revision: 332847
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=332847&view=rev
>> Log:
On 21 May 2018 at 09:09, Serge Pavlov via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: sepavloff
> Date: Mon May 21 09:09:54 2018
> New Revision: 332847
>
> URL: http://llvm.org/viewvc/llvm-project?rev=332847&view=rev
> Log:
> [CodeGen] Recognize more cases of zero initialization
>
>
Author: sepavloff
Date: Mon May 21 09:09:54 2018
New Revision: 332847
URL: http://llvm.org/viewvc/llvm-project?rev=332847&view=rev
Log:
[CodeGen] Recognize more cases of zero initialization
If a variable has an initializer, codegen tries to build its value. If
the variable is large in size, build