aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InlineSpiller.cpp
diff options
context:
space:
mode:
authorStephen Tozer <Stephen.Tozer@Sony.com>2021-03-04 11:59:21 +0000
committerStephen Tozer <Stephen.Tozer@Sony.com>2021-03-04 11:59:21 +0000
commitd2000b45d033c06dc7973f59909a0ad12887ff51 (patch)
treede87f2e697943ac5f1b6dc3fafac2ba605dcf61c /llvm/lib/CodeGen/InlineSpiller.cpp
parentd07f106f4a48b6e941266525b6f7177834d7b74e (diff)
downloadllvm-d2000b45d033c06dc7973f59909a0ad12887ff51.zip
llvm-d2000b45d033c06dc7973f59909a0ad12887ff51.tar.gz
llvm-d2000b45d033c06dc7973f59909a0ad12887ff51.tar.bz2
Revert "[DebugInfo] Add new instruction and DIExpression operator for variadic debug values"
This reverts commit d07f106f4a48b6e941266525b6f7177834d7b74e.
Diffstat (limited to 'llvm/lib/CodeGen/InlineSpiller.cpp')
-rw-r--r--llvm/lib/CodeGen/InlineSpiller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp
index 4635daf..7c28023 100644
--- a/llvm/lib/CodeGen/InlineSpiller.cpp
+++ b/llvm/lib/CodeGen/InlineSpiller.cpp
@@ -1048,7 +1048,7 @@ void InlineSpiller::spillAroundUses(Register Reg) {
// Modify DBG_VALUE now that the value is in a spill slot.
MachineBasicBlock *MBB = MI->getParent();
LLVM_DEBUG(dbgs() << "Modifying debug info due to spill:\t" << *MI);
- buildDbgValueForSpill(*MBB, MI, *MI, StackSlot, Reg);
+ buildDbgValueForSpill(*MBB, MI, *MI, StackSlot);
MBB->erase(MI);
continue;
}