summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-08 06:55:43 +0000
committerChris Lattner <sabre@nondot.org>2007-08-08 06:55:43 +0000
commit785f9986bd3682f488b6974a946316bab1089b38 (patch)
treebbf5f5dd5f2fa3a982de2e9f1e1580afba88f20c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent415750e13223ed79447d6791b683fed122315195 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud