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) {
16772
16772
if (DAG.isGuaranteedNotToBeUndefOrPoison(Op, /*PoisonOnly*/ false,
16773
16773
/*Depth*/ 1))
16774
16774
continue;
16775
- bool HadMaybePoisonOperands = !MaybePoisonOperands.empty();
16776
- bool IsNewMaybePoisonOperand = MaybePoisonOperands.insert(Op).second;
16777
- if (IsNewMaybePoisonOperand)
16775
+ if (MaybePoisonOperands.insert(Op).second)
16778
16776
MaybePoisonOperandNumbers.push_back(OpNo);
16779
- if (!HadMaybePoisonOperands)
16780
- continue;
16781
16777
}
16782
16778
// NOTE: the whole op may be not guaranteed to not be undef or poison because
16783
16779
// 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