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)
commit857ed2260403f2cbfe702e83da283b78e341707e
tree1bf5ff2d22e8fbace7709139177ab025ada93f3a
parent529b8424f1188ce6e880e73f5773326d42b4ddc3
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157169 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp