Re-apply 55467 with fix. If copy is being replaced by remat'ed def, transfer the...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 30 Aug 2008 09:09:33 +0000 (09:09 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 30 Aug 2008 09:09:33 +0000 (09:09 +0000)
commitcd04708f59b2777370a7c812c72572b1dae91221
tree016fef54f0cd5a4474fe154bba95fb2380d8fdfb
parent3689ff450ae2d72aadf48c70f499e4368684d1e3
Re-apply 55467 with fix. If copy is being replaced by remat'ed def, transfer the implicit defs onto the remat'ed instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55564 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/SimpleRegisterCoalescing.h
test/CodeGen/X86/2008-08-23-X86-64AsmBug.ll
test/CodeGen/X86/2008-08-25-AsmRegTypeMismatch.ll