Make local RA smarter about reusing input register of a copy
authorDale Johannesen <dalej@apple.com>
Tue, 2 Feb 2010 02:08:02 +0000 (02:08 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 2 Feb 2010 02:08:02 +0000 (02:08 +0000)
commit5ce0ee9c099deb18d432c665d74634b0373071c7
tree8693382f3997cf49bba2c26f0e75c46fb81d7e87
parent44eedb980536b91adb6c2add0ba4a02d16041d20
Make local RA smarter about reusing input register of a copy
as output.  Needed for (functional) correctness in inline asm,
and should be generally beneficial.  7361612.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95050 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll
test/CodeGen/X86/phys-reg-local-regalloc.ll