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.
1 parent 023b507 commit c1eb866Copy full SHA for c1eb866
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