Factor live variable analysis so it does not do register coalescing
authorDavid Greene <greened@obbligato.org>
Fri, 8 Jun 2007 17:18:56 +0000 (17:18 +0000)
committerDavid Greene <greened@obbligato.org>
Fri, 8 Jun 2007 17:18:56 +0000 (17:18 +0000)
commit2513330de8f8020d15d5bc96640a0957b7c733b9
tree71ec57eaf93e92d6083146af66407b426f470642
parent4a3c9019032d892008f868fa5f9a806dc4b783ce
Factor live variable analysis so it does not do register coalescing
simultaneously.  Move that pass to SimpleRegisterCoalescing.

This makes it easier to implement alternative register allocation and
coalescing strategies while maintaining reuse of the existing live
interval analysis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37520 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
include/llvm/CodeGen/Passes.h
include/llvm/CodeGen/SimpleRegisterCoalescing.h [new file with mode: 0644]
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp [new file with mode: 0644]