third_party: ngen: avoid unnecessary copy

This commit is contained in:
Kassen, Andrew
2025-10-09 11:37:03 -07:00
committed by Andy Kassen
parent 2b06b5c1b5
commit 3f66dc5049

View File

@ -1794,7 +1794,7 @@ PVCWARWA analyzePVCWARWA(HW hw, Program &program, BasicBlock &bb, int phase,
}
// Case 2: walk forward, looking for a new target send instruction.
auto eligibleSend = [=, &program](uint32_t inum) {
auto eligibleSend = [=, &program, &dep](uint32_t inum) {
auto &insn = program[inum];
if (inum != dep.inum && insn.predicated())
return false;