Clear kill flags in removeCopyByCommutingDef().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Jul 2012 02:47:24 +0000 (02:47 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 31 Jul 2012 02:47:24 +0000 (02:47 +0000)
commit34af6f597b09c13fba7d3a1960c0810cfc30beff
treebfeb206153b9f5675d4caf81c23f18528e4c92ba
parent11236143173d1aedeace570ac1133d3d5dfb268e
Clear kill flags in removeCopyByCommutingDef().

We are extending live ranges, so kill flags are not accurate. They
aren't needed until they are recomputed after RA anyway.

<rdar://problem/11950722>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161023 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp
test/CodeGen/ARM/crash-greedy.ll