File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class TargetInstrInfo;
63
63
64
64
// / Virt2ShapeMap - For X86 AMX register whose register is bound shape
65
65
// / information.
66
- DenseMap<unsigned , ShapeT> Virt2ShapeMap;
66
+ DenseMap<Register , ShapeT> Virt2ShapeMap;
67
67
68
68
// / createSpillSlot - Allocate a spill slot for RC from MFI.
69
69
unsigned createSpillSlot (const TargetRegisterClass *RC);
@@ -123,7 +123,7 @@ class TargetInstrInfo;
123
123
}
124
124
125
125
void assignVirt2Shape (Register virtReg, ShapeT shape) {
126
- Virt2ShapeMap[virtReg. id () ] = shape;
126
+ Virt2ShapeMap[virtReg] = shape;
127
127
}
128
128
129
129
// / clears the specified virtual register's, physical
@@ -153,7 +153,7 @@ class TargetInstrInfo;
153
153
void setIsSplitFromReg (Register virtReg, Register SReg) {
154
154
Virt2SplitMap[virtReg.id ()] = SReg;
155
155
if (hasShape (SReg)) {
156
- Virt2ShapeMap[virtReg. id () ] = getShape (SReg);
156
+ Virt2ShapeMap[virtReg] = getShape (SReg);
157
157
}
158
158
}
159
159
You can’t perform that action at this time.
0 commit comments