File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
673
673
TLI->insertCopiesSplitCSR (EntryMBB, Returns);
674
674
}
675
675
676
- DenseMap<unsigned , unsigned > LiveInMap;
676
+ DenseMap<MCRegister, Register > LiveInMap;
677
677
if (!FuncInfo->ArgDbgValues .empty ())
678
678
for (std::pair<MCRegister, Register> LI : RegInfo->liveins ())
679
679
if (LI.second )
@@ -705,7 +705,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
705
705
continue ;
706
706
707
707
// If Reg is live-in then update debug info to track its copy in a vreg.
708
- DenseMap<unsigned , unsigned >::iterator LDI = LiveInMap.find (Reg);
708
+ DenseMap<MCRegister, Register >::iterator LDI = LiveInMap.find (Reg);
709
709
if (LDI != LiveInMap.end ()) {
710
710
assert (!hasFI && " There's no handling of frame pointer updating here yet "
711
711
" - add if needed" );
You can’t perform that action at this time.
0 commit comments