File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
llvm/lib/CodeGen/SelectionDAG Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -16772,12 +16772,8 @@ SDValue DAGCombiner::visitFREEZE(SDNode *N) {
1677216772 if (DAG.isGuaranteedNotToBeUndefOrPoison(Op, /*PoisonOnly*/ false,
1677316773 /*Depth*/ 1))
1677416774 continue;
16775- bool HadMaybePoisonOperands = !MaybePoisonOperands.empty();
16776- bool IsNewMaybePoisonOperand = MaybePoisonOperands.insert(Op).second;
16777- if (IsNewMaybePoisonOperand)
16775+ if (MaybePoisonOperands.insert(Op).second)
1677816776 MaybePoisonOperandNumbers.push_back(OpNo);
16779- if (!HadMaybePoisonOperands)
16780- continue;
1678116777 }
1678216778 // NOTE: the whole op may be not guaranteed to not be undef or poison because
1678316779 // it could create undef or poison due to it's poison-generating flags.
You can’t perform that action at this time.
0 commit comments