[CodeGen] Fix a simple FIXME. NFC.

This commit is contained in:
Jay Foad 2020-04-09 10:42:16 +01:00
parent ced398fdc8
commit bf730e1686
1 changed files with 1 additions and 2 deletions

View File

@ -42,8 +42,7 @@ MachineBasicBlock *llvm::PeelSingleBlockLoop(LoopPeelDirection Direction,
else
MF.insert(std::next(Loop->getIterator()), NewBB);
// FIXME: Add DenseMapInfo trait for Register so we can use it as a key.
DenseMap<unsigned, Register> Remaps;
DenseMap<Register, Register> Remaps;
auto InsertPt = NewBB->end();
for (MachineInstr &MI : *Loop) {
MachineInstr *NewMI = MF.CloneMachineInstr(&MI);