Don't depend on kill flags in removeCopyByCommutingDef().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 15 Sep 2012 16:32:11 +0000 (16:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 15 Sep 2012 16:32:11 +0000 (16:32 +0000)
commitab9baf7ff4b58b3905bccad68c8d2ab59ea4202b
tree4adafd601ef132f6be103d9b9b6a9534357f8ea8
parent9ae03fa69f6bc19acd8043414160320c1da0c3da
Don't depend on kill flags in removeCopyByCommutingDef().

Kill flags are removed more and more aggressively during the register
allocation passes, it is better to get information from LiveIntervals.

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