File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -405,9 +405,9 @@ void DepSet::getDpasSrcDependency(const Instruction &inst,
405
405
406
406
for (unsigned srcIx = 0 ; srcIx < inst.getSourceCount (); ++srcIx) {
407
407
const Operand &op = inst.getSource (srcIx);
408
- // the src0 could be null, in that case no need to set the dependency
409
- if (srcIx == 0 && op.getDirRegName () == RegName::ARF_NULL) {
410
- // if src0 is null, set the reg range to max() to specify its actually
408
+ // src could be null, in that case no need to set the dependency
409
+ if (op.getDirRegName () == RegName::ARF_NULL) {
410
+ // if src is null, set the reg range to max() to specify its actually
411
411
// empty
412
412
reg_range.push_back (std::make_pair (std::numeric_limits<uint32_t >::max (),
413
413
std::numeric_limits<uint32_t >::max ()));
You can’t perform that action at this time.
0 commit comments