diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-01-14 13:54:35 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2023-01-14 13:54:35 +0000 |
commit | b9a7e2c7438af8bc9d1e48703d24173d5dae4753 (patch) | |
tree | 31e64f54632e76567c4844690d756cec8880b478 /llvm/lib/CodeGen/RegAllocFast.cpp | |
parent | 458532c2dd24708181cdce77b8f60938fdc90dc6 (diff) |
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocFast.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp index 9e4e26f1392e..cb552f212fbb 100644 --- a/llvm/lib/CodeGen/RegAllocFast.cpp +++ b/llvm/lib/CodeGen/RegAllocFast.cpp @@ -443,6 +443,9 @@ void RegAllocFast::spill(MachineBasicBlock::iterator Before, Register VirtReg, SpilledOperandsMap[MO->getParent()].push_back(MO); for (auto MISpilledOperands : SpilledOperandsMap) { MachineInstr &DBG = *MISpilledOperands.first; + // We don't have enough support for tracking operands of DBG_VALUE_LISTs. + if (DBG.isDebugValueList()) + continue; MachineInstr *NewDV = buildDbgValueForSpill( *MBB, Before, *MISpilledOperands.first, FI, MISpilledOperands.second); assert(NewDV->getParent() == MBB && "dangling parent pointer"); |