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 @@ -16751,12 +16751,8 @@ SDValue DAGCombiner::visitFREEZE(SDNode *N) {
16751
16751
if (DAG.isGuaranteedNotToBeUndefOrPoison(Op, /*PoisonOnly*/ false,
16752
16752
/*Depth*/ 1))
16753
16753
continue;
16754
- bool HadMaybePoisonOperands = !MaybePoisonOperands.empty();
16755
- bool IsNewMaybePoisonOperand = MaybePoisonOperands.insert(Op).second;
16756
- if (IsNewMaybePoisonOperand)
16754
+ if (MaybePoisonOperands.insert(Op).second)
16757
16755
MaybePoisonOperandNumbers.push_back(OpNo);
16758
- if (!HadMaybePoisonOperands)
16759
- continue;
16760
16756
}
16761
16757
// NOTE: the whole op may be not guaranteed to not be undef or poison because
16762
16758
// 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