Replace a big gob of old coalescer logic with the new CoalescerPair class.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 24 Jun 2010 18:15:01 +0000 (18:15 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 24 Jun 2010 18:15:01 +0000 (18:15 +0000)
commita24986d8bfd941252f7d080943e02bbe6a0c2944
treede3a4044e1423ea503175d1fd509c2603cc23df7
parentfc33a3099eb37d61d422be603a3de8b5c9e384ae
Replace a big gob of old coalescer logic with the new CoalescerPair class.

CoalescerPair can determine if a copy can be coalesced, and which register gets
merged away. The old logic in SimpleRegisterCoalescing had evolved into
something a bit too convoluted.

This second attempt fixes some crashes that only occurred Linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106769 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/SimpleRegisterCoalescing.h
test/CodeGen/ARM/vget_lane.ll