Skip to content

Commit e523f4e

Browse files
committed
[VirtRegMap] Store Register in Virt2SplitMap. NFC
1 parent 8e00afc commit e523f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/VirtRegMap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class TargetInstrInfo;
5959

6060
/// Virt2SplitMap - This is virtual register to splitted virtual register
6161
/// mapping.
62-
IndexedMap<unsigned, VirtReg2IndexFunctor> Virt2SplitMap;
62+
IndexedMap<Register, VirtReg2IndexFunctor> Virt2SplitMap;
6363

6464
/// Virt2ShapeMap - For X86 AMX register whose register is bound shape
6565
/// information.
@@ -73,7 +73,7 @@ class TargetInstrInfo;
7373

7474
VirtRegMap()
7575
: MachineFunctionPass(ID), Virt2PhysMap(NO_PHYS_REG),
76-
Virt2StackSlotMap(NO_STACK_SLOT), Virt2SplitMap(0) {}
76+
Virt2StackSlotMap(NO_STACK_SLOT) {}
7777
VirtRegMap(const VirtRegMap &) = delete;
7878
VirtRegMap &operator=(const VirtRegMap &) = delete;
7979

0 commit comments

Comments
 (0)