Skip to content
Commit d6bd3115 authored by Chris Lattner's avatar Chris Lattner
Browse files

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.

llvm-svn: 47631
parent dc1b0114
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment