We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b9e1ec commit 05d8a51Copy full SHA for 05d8a51
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -5026,6 +5026,9 @@ InstCombinerImpl::pushFreezeToPreventPoisonFromPropagating(FreezeInst &OrigFI) {
5026
if (U == OrigUse)
5027
return nullptr;
5028
5029
+ if (isa<PoisonValue>(V))
5030
+ continue;
5031
+
5032
auto *UserI = cast<Instruction>(U->getUser());
5033
if (auto *PN = dyn_cast<PHINode>(UserI))
5034
Builder.SetInsertPoint(PN->getIncomingBlock(*U)->getTerminator());
0 commit comments