Fix PR4910: Broken logic in coalescer means when a physical register liveness is...
commitf7f012381f5d47bb4f8a5a4663311daee8692cbf
authorEvan Cheng <evan.cheng@apple.com>
Thu, 17 Sep 2009 00:57:15 +0000 (17 00:57 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 17 Sep 2009 00:57:15 +0000 (17 00:57 +0000)
treec99fe1a4c1197122559dc6e950762b25b9f0182b
parent119fdf6a2815d88d5fdfc5ada6897c96c9f83a0d
Fix PR4910: Broken logic in coalescer means when a physical register liveness is being shortened, the sub-registers were not. The symptom is the register allocator could not find a free register for this particular test.

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