Teach EmitLiveInCopies to omit copies for unused virtual registers,
authorDan Gohman <gohman@apple.com>
Thu, 24 Jun 2010 22:23:02 +0000 (22:23 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 24 Jun 2010 22:23:02 +0000 (22:23 +0000)
commitfe5e4dabbf05f3b7b8c6d652adb6b500e5dec8cd
tree619dbedc7b8ae8534fca64d1c00849787ab73213
parentf241b26792c12ca1819685d8640ea08d676c9cc0
Teach EmitLiveInCopies to omit copies for unused virtual registers,
and to clean up unused incoming physregs from the live-in list.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106805 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineRegisterInfo.cpp
test/CodeGen/ARM/long_shift.ll
test/CodeGen/X86/sse3.ll