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 {
56
56
57
57
// / Update DBG_VALUE or DBG_PHI if dependency breaker is updating
58
58
// / other machine instruction to use NewReg.
59
- void UpdateDbgValue (MachineInstr &MI, unsigned OldReg, unsigned NewReg) {
59
+ void UpdateDbgValue (MachineInstr &MI, MCRegister OldReg, MCRegister NewReg) {
60
60
if (MI.isDebugValue ()) {
61
61
if (MI.getDebugOperand (0 ).isReg () &&
62
62
MI.getDebugOperand (0 ).getReg () == OldReg)
@@ -73,7 +73,7 @@ class AntiDepBreaker {
73
73
// / Update all DBG_VALUE instructions that may be affected by the dependency
74
74
// / breaker's update of ParentMI to use NewReg.
75
75
void UpdateDbgValues (const DbgValueVector &DbgValues, MachineInstr *ParentMI,
76
- unsigned OldReg, unsigned NewReg) {
76
+ MCRegister OldReg, MCRegister NewReg) {
77
77
// The following code is dependent on the order in which the DbgValues are
78
78
// constructed in ScheduleDAGInstrs::buildSchedGraph.
79
79
MachineInstr *PrevDbgMI = nullptr ;
You can’t perform that action at this time.
0 commit comments