Fixes the bug exposed by Anton's test case in PR 5495:
authorLang Hames <lhames@gmail.com>
Mon, 16 Nov 2009 02:07:31 +0000 (02:07 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 16 Nov 2009 02:07:31 +0000 (02:07 +0000)
commit79ac32de3bdaf8da2213945c808f6ec26cf2a7fa
treec137911e20c5fd4ab6b88caf7dc7af7c780b9f0c
parentb126d0530d48890e1689975483b9f923a0fca1da
Fixes the bug exposed by Anton's test case in PR 5495:
Make sure when ProcessImplicitDefs removes a copy which kills its source reg that it
removes the copy from said reg's Kills list.

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