File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class AntiDepBreaker {
5656
5757 // / Update DBG_VALUE or DBG_PHI if dependency breaker is updating
5858 // / other machine instruction to use NewReg.
59- void UpdateDbgValue (MachineInstr &MI, unsigned OldReg, unsigned NewReg) {
59+ void UpdateDbgValue (MachineInstr &MI, MCRegister OldReg, MCRegister NewReg) {
6060 if (MI.isDebugValue ()) {
6161 if (MI.getDebugOperand (0 ).isReg () &&
6262 MI.getDebugOperand (0 ).getReg () == OldReg)
@@ -73,7 +73,7 @@ class AntiDepBreaker {
7373 // / Update all DBG_VALUE instructions that may be affected by the dependency
7474 // / breaker's update of ParentMI to use NewReg.
7575 void UpdateDbgValues (const DbgValueVector &DbgValues, MachineInstr *ParentMI,
76- unsigned OldReg, unsigned NewReg) {
76+ MCRegister OldReg, MCRegister NewReg) {
7777 // The following code is dependent on the order in which the DbgValues are
7878 // constructed in ScheduleDAGInstrs::buildSchedGraph.
7979 MachineInstr *PrevDbgMI = nullptr ;
You can’t perform that action at this time.
0 commit comments