diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-08 06:55:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-08 06:55:43 +0000 |
commit | 785f9986bd3682f488b6974a946316bab1089b38 (patch) | |
tree | bbf5f5dd5f2fa3a982de2e9f1e1580afba88f20c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 415750e13223ed79447d6791b683fed122315195 (diff) | |
download | bcm5719-llvm-785f9986bd3682f488b6974a946316bab1089b38.tar.gz bcm5719-llvm-785f9986bd3682f488b6974a946316bab1089b38.zip |
significantly speed up constant folding of calls (and thus all clients that use
ConstantFoldInstruction on calls) by avoiding Value::getName(). getName() constructs
and returns an std::string, which does heap allocation stuff. This slightly speeds up
instcombine.
llvm-svn: 40924
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions