Use MRI::getSimpleHint() instead of getRegAllocPref() in remaining cases.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 4 Dec 2012 00:30:22 +0000 (00:30 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 4 Dec 2012 00:30:22 +0000 (00:30 +0000)
commit980bddfb1c26e2e9374d1645f9ae26c44742606f
tree93a53c04382c4d2d41e0a8a1b7d71530a5102625
parentdc8126bbb89cda8c87bf324e3495ceb3164ae7cb
Use MRI::getSimpleHint() instead of getRegAllocPref() in remaining cases.

Targets can provide multiple hints now, so getRegAllocPref() doesn't
make sense any longer because it only returns one preferred register.
Replace it with getSimpleHint() in the remaining heuristics. This
function only

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169188 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/VirtRegMap.h
lib/CodeGen/RegAllocPBQP.cpp
lib/CodeGen/VirtRegMap.cpp