Родитель
089d716d25
Коммит
f82f5af5e2
|
@ -35,6 +35,7 @@ void ChangeOperandToUndefReductionOpportunity::Apply() {
|
||||||
assert(operand_type_id);
|
assert(operand_type_id);
|
||||||
auto undef_id = FindOrCreateGlobalUndef(context_, operand_type_id);
|
auto undef_id = FindOrCreateGlobalUndef(context_, operand_type_id);
|
||||||
inst_->SetOperand(operand_index_, {undef_id});
|
inst_->SetOperand(operand_index_, {undef_id});
|
||||||
|
context_->InvalidateAnalyses(opt::IRContext::kAnalysisDefUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace reduce
|
} // namespace reduce
|
||||||
|
|
Загрузка…
Ссылка в новой задаче