mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-09 10:30:47 +00:00
Use uint16_t instead of unsigned to store registers in reg classes. Reduces static data size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user