projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ced398f
)
[CodeGen] Fix a simple FIXME. NFC.
author
Jay Foad
<jay.foad@amd.com>
Thu, 9 Apr 2020 09:42:16 +0000
(10:42 +0100)
committer
Jay Foad
<jay.foad@amd.com>
Thu, 9 Apr 2020 09:54:03 +0000
(10:54 +0100)
llvm/lib/CodeGen/MachineLoopUtils.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/MachineLoopUtils.cpp
b/llvm/lib/CodeGen/MachineLoopUtils.cpp
index
cf30e28
..
2295e1c
100644
(file)
--- 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<unsigned, Register> Remaps;
+ DenseMap<Register, Register> Remaps;
auto InsertPt = NewBB->end();
for (MachineInstr &MI : *Loop) {
MachineInstr *NewMI = MF.CloneMachineInstr(&MI);