Keep the killed/dead sets sorted, so that "KillsRegister" can do a quick
authorChris Lattner <sabre@nondot.org>
Wed, 24 Aug 2005 00:09:02 +0000 (00:09 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Aug 2005 00:09:02 +0000 (00:09 +0000)
commitc44fff472c6d56390b9c4c7da6cc77c1d45b1744
tree5efe480b951cdbb9eccad82b461a6c5c8c4dd174
parent44b94c2185f4c1b826ec6003d25370cf2efac219
Keep the killed/dead sets sorted, so that "KillsRegister" can do a quick
binary search to test for membership.  This speeds up LLC a bit more on KC++,
e.g. on itanium from 16.6974s to 14.8272s, PPC from 11.4926s to 10.7089s and
X86 from 10.8128s to 9.7943s, with no difference in generated code (like all
of the RA patches).

With these changes, isel is the slowest pass for PPC/X86, but linscan+live
intervals is still > 50% of the compile time for itanium.  More work could
be done, but this is the last for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22993 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h