Skip to content

Commit 6e17a6c

Browse files
committed
Add missing source lines.
These lines are present in the upstream main but missing in the amd-staging. These were probably deleted during a merge conflict resolution.
1 parent 5112f90 commit 6e17a6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/CodeGen/RegAllocFast.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,6 +1845,8 @@ void RegAllocFastImpl::handleDebugValue(MachineInstr &MI) {
18451845
Register Reg = MO.getReg();
18461846
if (!Reg.isVirtual())
18471847
continue;
1848+
if (!shouldAllocateRegister(Reg))
1849+
continue;
18481850

18491851
// Already spilled to a stackslot?
18501852
int SS = StackSlotForVirtReg[Reg];

0 commit comments

Comments
 (0)