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)
commit7e28db019a4ecba0a3f13e4c5d424b4a7d641e5c
tree29815c4fed2ac0fffa44ccb43f1cad0669441c12
parentcb15f086a5dcfe33d221f53c3f5c77a24e666bf6
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>

llvm-svn: 175540
llvm/lib/CodeGen/AllocationOrder.cpp