Add a register bank index to RegClassData.
This makes it possible to find the register bank that contains a register class.
This commit is contained in:
@@ -140,6 +140,7 @@ mod tests {
|
||||
name: "GPR",
|
||||
index: 0,
|
||||
width: 1,
|
||||
bank: 0,
|
||||
first: 28,
|
||||
subclasses: 0,
|
||||
mask: [0xf0000000, 0x0000000f, 0],
|
||||
@@ -148,6 +149,7 @@ mod tests {
|
||||
name: "DPR",
|
||||
index: 0,
|
||||
width: 2,
|
||||
bank: 0,
|
||||
first: 28,
|
||||
subclasses: 0,
|
||||
mask: [0x50000000, 0x0000000a, 0],
|
||||
|
||||
Reference in New Issue
Block a user