Skip to content

Commit 040b554

Browse files
committed
[MC] Store size of register in uint32_t
1 parent 6bef697 commit 040b554

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/include/llvm/MC/MCRegisterInfo.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
7+
// Modifications (c) Copyright 2025 Advanced Micro Devices, Inc. or its
8+
// affiliates
9+
//
710
//===----------------------------------------------------------------------===//
811
//
912
// This file describes an abstract interface used to get information about a
@@ -43,7 +46,7 @@ class MCRegisterClass {
4346
const uint16_t RegsSize;
4447
const uint16_t RegSetSize;
4548
const uint16_t ID;
46-
const uint16_t RegSizeInBits;
49+
const uint32_t RegSizeInBits;
4750
const int8_t CopyCost;
4851
const bool Allocatable;
4952
const bool BaseClass;

0 commit comments

Comments
 (0)