aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/llvmAsmParser.cpp.cvs
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
commitfe42462164b7dfcb31922b358fbaf8d9db7eb8d2 (patch)
treef888a577acfb51b8eb7c89ba0a946b0fd13c2deb /lib/AsmParser/llvmAsmParser.cpp.cvs
parente6d088acc90e422451e098555d383d4d65b6ce6b (diff)
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/AsmParser/llvmAsmParser.cpp.cvs')
0 files changed, 0 insertions, 0 deletions