commit | c5f6a1f9d61d74017d90e149728cb3d283e0a0e0 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Aug 08 06:55:43 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Aug 08 06:55:43 2007 +0000 |
tree | 465b704b7e8f7c28b8563f6982c080814edff2b2 | |
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