forked from OSchip/llvm-project
[CodeGen] Fix a simple FIXME. NFC.
This commit is contained in:
parent
ced398fdc8
commit
bf730e1686
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue