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 | c5f6a1f9d61d74017d90e149728cb3d283e0a0e0 (patch) | |
tree | 465b704b7e8f7c28b8563f6982c080814edff2b2 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | de0e42d3c07466677dab4b3bbc379302e383083b (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/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions