Break the spill placement algorithm into three parts: prepare, addConstraints, and...
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 19:13:57 +0000 (19:13 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 6 Apr 2011 19:13:57 +0000 (19:13 +0000)
commit9efa2a263ea470caacef1c85f6ca45e32bf516d3
treea53dc8a880e331f92a28e9d4d63711136a746fba
parent77b42e9654c6c226d29aeb0883955874ea881068
Break the spill placement algorithm into three parts: prepare, addConstraints, and finish.

This will allow us to abort the algorithm early if it is determined to be futile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129020 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocGreedy.cpp
lib/CodeGen/SpillPlacement.cpp
lib/CodeGen/SpillPlacement.h