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 59533ea commit a6359f3Copy full SHA for a6359f3
llvm/lib/CodeGen/MachineFunction.cpp
@@ -1290,7 +1290,7 @@ static bool finalizeInstrRefRegSequenceNew(
1290
for (const Part &P : drop_begin(Parts, 1))
1291
DbgInstr.addOperand(MachineOperand::CreateDbgInstrRef(
1292
P.DbgInstrNum.first, P.DbgInstrNum.second));
1293
- DbgInstr.getDebugExpressionOp() = MachineOperand::CreateMetadata(NewExpr);
+ DbgInstr.getDebugExpressionOp().setMetadata(NewExpr);
1294
assert(NewExpr->getNewNumLocationOperands() ==
1295
DbgInstr.getNumDebugOperands());
1296
return true;
0 commit comments