Be more careful with insert_subreg and extract_subreg where either source or destinat...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 17 Apr 2008 07:58:04 +0000 (07:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 17 Apr 2008 07:58:04 +0000 (07:58 +0000)
commit639f493ebf31632574738735bb367729ca187282
tree0186ca0c7d63ba94d33cc0765e6446ec3bb8dd68
parent241f65321efc6ad84ed875cd9494df8ca1cff309
Be more careful with insert_subreg and extract_subreg where either source or destination operand has already been coalesced with another register that's defined by a insert_subreg or extract_subreg.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49843 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
test/CodeGen/X86/2008-04-17-CoalescerBug.ll [new file with mode: 0644]