rewrite Value::takeName to take advantage of the new symtab stuff. This
authorChris Lattner <sabre@nondot.org>
Thu, 15 Feb 2007 20:01:43 +0000 (20:01 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Feb 2007 20:01:43 +0000 (20:01 +0000)
commit0878c310596d564e75657bf3c771431b4ef7eea5
treeeeb924870c35de4631e8f338456100b4f2ff790a
parent1f87a58ab29bc0fe888abfa3e15917e62ad3598e
rewrite Value::takeName to take advantage of the new symtab stuff.  This
causes it to require no allocations and no symtab lookups in the common
case.  This speeds up instcombine 9.2% on 447.dealII.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34324 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Value.cpp