Replace a big gob of old coalescer logic with the new CoalescerPair class.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 24 Jun 2010 00:12:39 +0000 (00:12 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 24 Jun 2010 00:12:39 +0000 (00:12 +0000)
commite9c59711d3d1e8b133763393bea92af6e36b0031
treec72c317fe18aa2514dab558fc45987c1007c11fb
parent774cca70b10bc679daff8203d639d9004a2eb194
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.

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