diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-07-28 23:00:45 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-07-28 23:00:45 +0000 |
commit | 8b9bb534a176a26a8cd6a80366aabbc03abcc7e8 (patch) | |
tree | b7c42fbc153996474d92a2273ef2a38fbab59bfc /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | d92ac5a259b19236696f4af0a8d199fb665761ea (diff) | |
download | llvm-8b9bb534a176a26a8cd6a80366aabbc03abcc7e8.zip llvm-8b9bb534a176a26a8cd6a80366aabbc03abcc7e8.tar.gz llvm-8b9bb534a176a26a8cd6a80366aabbc03abcc7e8.tar.bz2 |
Remove the unused offset from DBG_VALUE (NFC)
Followup to r309426.
rdar://problem/33580047
llvm-svn: 309450
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 57444aa..89b688b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -1187,7 +1187,7 @@ bool FastISel::selectIntrinsicCall(const IntrinsicInst *II) { // into an indirect DBG_VALUE. BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::DBG_VALUE), /*IsIndirect*/ true, - Op->getReg(), 0, DI->getVariable(), DI->getExpression()); + Op->getReg(), DI->getVariable(), DI->getExpression()); } else BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::DBG_VALUE)) @@ -1239,7 +1239,7 @@ bool FastISel::selectIntrinsicCall(const IntrinsicInst *II) { } else if (unsigned Reg = lookUpRegForValue(V)) { // FIXME: This does not handle register-indirect values at offset 0. bool IsIndirect = false; - BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, IsIndirect, Reg, 0, + BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, IsIndirect, Reg, DI->getVariable(), DI->getExpression()); } else { // We can't yet handle anything else here because it would require |