Skip to content
Commit e6c980c4 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[leaks] Re-shuffle code such that we don't create a basic block for

initializing an array unless we need it. Specifically, position the
creation of a new basic block after we've checked all of the cases that
bypass the need for it.

Fixes another leak in test/CodeGen* found by LSan.

llvm-svn: 207900
parent 81f9e02e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment