From: Jay Foad Date: Thu, 9 Apr 2020 09:42:16 +0000 (+0100) Subject: [CodeGen] Fix a simple FIXME. NFC. X-Git-Tag: llvmorg-12-init~9572 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf730e16863de43d7c991e9c9c802150e304272b;p=platform%2Fupstream%2Fllvm.git [CodeGen] Fix a simple FIXME. NFC. --- diff --git a/llvm/lib/CodeGen/MachineLoopUtils.cpp b/llvm/lib/CodeGen/MachineLoopUtils.cpp index cf30e28..2295e1c 100644 --- a/llvm/lib/CodeGen/MachineLoopUtils.cpp +++ b/llvm/lib/CodeGen/MachineLoopUtils.cpp @@ -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 Remaps; + DenseMap Remaps; auto InsertPt = NewBB->end(); for (MachineInstr &MI : *Loop) { MachineInstr *NewMI = MF.CloneMachineInstr(&MI);