Be more strict about subreg-to-subreg copies in CoalescerPair.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 24 Jun 2010 16:19:28 +0000 (16:19 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 24 Jun 2010 16:19:28 +0000 (16:19 +0000)
commit8df08017d81ef3749acdc3234e3f33c15a6d0def
treec48e5fbf947275c0e8dfd0e07ce5ff1b2c7494e5
parentcaf70b31b0d8cbae0f05df404dd5935c27369690
Be more strict about subreg-to-subreg copies in CoalescerPair.

Also keep track of the original DstREg before subregister adjustments.

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