mirror of
https://github.com/uxlfoundation/oneDNN.git
synced 2025-10-20 10:03:50 +08:00
third_party: ngen: avoid unnecessary copy
This commit is contained in:
committed by
Andy Kassen
parent
2b06b5c1b5
commit
3f66dc5049
2
third_party/ngen/ngen_auto_swsb.hpp
vendored
2
third_party/ngen/ngen_auto_swsb.hpp
vendored
@ -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;
|
||||
|
Reference in New Issue
Block a user