When coalescing an EXTRACT_SUBREG and the dst register is a physical register,
authorEvan Cheng <evan.cheng@apple.com>
Sun, 14 Oct 2007 10:08:34 +0000 (10:08 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 14 Oct 2007 10:08:34 +0000 (10:08 +0000)
commit34729256e8058d4106706e9feb2dfad7893502d1
tree918c4e9daeb5851abb26dc1eaed8aa189e6da9ad
parent347d39f1fd8ad825a7ec5b8a3dce816723a56d42
When coalescing an EXTRACT_SUBREG and the dst register is a physical register,
the source register will be coalesced to the super register of the LHS. Properly
merge in the live ranges of the resulting coalesced interval that were part of
the original source interval to the live interval of the super-register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42961 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveInterval.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp