Assert that the target provided hints are in the allocation order.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 19 Feb 2013 18:41:01 +0000 (18:41 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 19 Feb 2013 18:41:01 +0000 (18:41 +0000)
commitda5f1ed6406442735fbb4421f8a22bc8a41d4c57
treefed976a4dc573d6748cdbbc0136a0602990a241b
parent1f1713ff7a53c9c491c59886984f6a0534ce3630
Assert that the target provided hints are in the allocation order.

Target implementations of getRegAllocationHints() should use the
provided allocation order, and they can never return hints outside the
order. This is already documented in TargetRegisterInfo.h.

<rdar://problem/13240556>

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