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;
6363
6464 // / Virt2ShapeMap - For X86 AMX register whose register is bound shape
6565 // / information.
66- DenseMap<unsigned , ShapeT> Virt2ShapeMap;
66+ DenseMap<Register , ShapeT> Virt2ShapeMap;
6767
6868 // / createSpillSlot - Allocate a spill slot for RC from MFI.
6969 unsigned createSpillSlot (const TargetRegisterClass *RC);
@@ -123,7 +123,7 @@ class TargetInstrInfo;
123123 }
124124
125125 void assignVirt2Shape (Register virtReg, ShapeT shape) {
126- Virt2ShapeMap[virtReg. id () ] = shape;
126+ Virt2ShapeMap[virtReg] = shape;
127127 }
128128
129129 // / clears the specified virtual register's, physical
@@ -153,7 +153,7 @@ class TargetInstrInfo;
153153 void setIsSplitFromReg (Register virtReg, Register SReg) {
154154 Virt2SplitMap[virtReg.id ()] = SReg;
155155 if (hasShape (SReg)) {
156- Virt2ShapeMap[virtReg. id () ] = getShape (SReg);
156+ Virt2ShapeMap[virtReg] = getShape (SReg);
157157 }
158158 }
159159
You can’t perform that action at this time.
0 commit comments