Clear kill flags on the fly when joining intervals.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 20 May 2012 21:41:05 +0000 (21:41 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 20 May 2012 21:41:05 +0000 (21:41 +0000)
commita7c3d2f9021e0aba97ecc26a29100ce4203cf3c1
tree83987f730b3689de6c86d803af2ee2ed9edaa729
parentf44bdf9c5fc347f1639d50c49de2b836f28017e2
Clear kill flags on the fly when joining intervals.

With physreg joining out of the way, it is easy to recognize the
instructions that need their kill flags cleared while testing for
interference.

This allows us to skip the final scan of all instructions for an 11%
speedup of the coalescer pass.

llvm-svn: 157169
llvm/lib/CodeGen/RegisterCoalescer.cpp