We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16b4168 + c1eb866 commit 5ca444bCopy full SHA for 5ca444b
llvm/lib/CodeGen/MachineFunction.cpp
@@ -1341,7 +1341,7 @@ static bool finalizeInstrRefRegSequenceNew(
1341
for (const Part &P : drop_begin(Parts, 1))
1342
DbgInstr.addOperand(MachineOperand::CreateDbgInstrRef(
1343
P.DbgInstrNum.first, P.DbgInstrNum.second));
1344
- DbgInstr.getDebugExpressionOp() = MachineOperand::CreateMetadata(NewExpr);
+ DbgInstr.getDebugExpressionOp().setMetadata(NewExpr);
1345
assert(NewExpr->getNewNumLocationOperands() ==
1346
DbgInstr.getNumDebugOperands());
1347
return true;
0 commit comments