Coalescer should not delete copy instructions whose defs are partially dead. e.g.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 8 Apr 2010 20:02:37 +0000 (20:02 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 8 Apr 2010 20:02:37 +0000 (20:02 +0000)
commita57fabe815ccf016eead526eb3ef475f116ab155
treec5766e5dbbe4131e812a643263b6355ff962132e
parentb8db3c2c507cc115ed773209eae6cb8b89db1586
Coalescer should not delete copy instructions whose defs are partially dead. e.g.
%RDI<def,dead> = MOV64rr %RAX<kill>, %EDI<imp-def>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100804 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
test/CodeGen/X86/2010-04-08-CoalescerBug.ll [new file with mode: 0644]