Use uint16_t instead of unsigned to store registers in reg classes. Reduces static...
[oota-llvm.git] / lib / CodeGen / AllocationOrder.cpp
index 1005f102bea6c1c2a834f8e31acbc47aab6dc24b..87f64311a655a2b282ad78c30e56929e1d907149 100644 (file)
@@ -41,7 +41,7 @@ AllocationOrder::AllocationOrder(unsigned VirtReg,
   if (HintPair.first) {
     const TargetRegisterInfo &TRI = VRM.getTargetRegInfo();
     // The remaining allocation order may depend on the hint.
-    ArrayRef<unsigned> Order =
+    ArrayRef<uint16_t> Order =
       TRI.getRawAllocationOrder(RC, HintPair.first, Hint,
                                 VRM.getMachineFunction());
     if (Order.empty())