diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-26 22:08:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-26 22:08:41 +0000 |
commit | 9f6dc2c9c71233db4d01af5a1c15b3d8730d114a (patch) | |
tree | f888a577acfb51b8eb7c89ba0a946b0fd13c2deb /lib/VMCore/Instructions.cpp | |
parent | 9b0baebd71c4f66b7b3f4a9d2ffdde9dc9ded8a7 (diff) | |
download | external_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