aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Instructions.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-26 22:08:41 +0000
committerChris Lattner <sabre@nondot.org>2008-02-26 22:08:41 +0000
commit9f6dc2c9c71233db4d01af5a1c15b3d8730d114a (patch)
treef888a577acfb51b8eb7c89ba0a946b0fd13c2deb /lib/VMCore/Instructions.cpp
parent9b0baebd71c4f66b7b3f4a9d2ffdde9dc9ded8a7 (diff)
downloadexternal_llvm-9f6dc2c9c71233db4d01af5a1c15b3d8730d114a.zip
external_llvm-9f6dc2c9c71233db4d01af5a1c15b3d8730d114a.tar.gz
external_llvm-9f6dc2c9c71233db4d01af5a1c15b3d8730d114a.tar.bz2
Use a smallvector for inactiveCounts and initialize it lazily
instead of init'ing it maximally to zeros on entry. getFreePhysReg is pretty hot and only a few elements are typically used. This speeds up linscan by 5% on 176.gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Instructions.cpp')
0 files changed, 0 insertions, 0 deletions