Use the new getRegAllocationHints() hook from AllocationOrder.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 3 Dec 2012 22:51:04 +0000 (22:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 3 Dec 2012 22:51:04 +0000 (22:51 +0000)
commitfc29db1214736d6ed84d60707db28de346af3feb
treedd7774a80889c677f16817c590525eb4d46df962
parente70b2680a89e1ffb88594f032da9fef757b487fa
Use the new getRegAllocationHints() hook from AllocationOrder.

This simplifies the hinting code quite a bit while making the targets
easier to write at the same time.

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