Skip to content
Commit 47640221 authored by Chris Lattner's avatar Chris Lattner
Browse files

fix CreateTempAlloca to not set a name on the alloca for temporaries

in release-assert builds.  For automatic variables, explicitly set
a name with setName that does not make a temporary std::string.

This speeds up -emit-llvm-only -disable-free on PR3810 by 4.6%

llvm-svn: 67459
parent adda37fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment