aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/MemoryBuffer.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
commitc5f6a1f9d61d74017d90e149728cb3d283e0a0e0 (patch)
tree465b704b7e8f7c28b8563f6982c080814edff2b2 /lib/Support/MemoryBuffer.cpp
parentde0e42d3c07466677dab4b3bbc379302e383083b (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions