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 b4fb95c commit 564f1bdCopy full SHA for 564f1bd
llvm/lib/AsmParser/LLParser.cpp
@@ -3546,15 +3546,15 @@ LLParser::PerFunctionState::~PerFunctionState() {
3546
if (isa<BasicBlock>(P.second.first))
3547
continue;
3548
P.second.first->replaceAllUsesWith(
3549
- UndefValue::get(P.second.first->getType()));
+ PoisonValue::get(P.second.first->getType()));
3550
P.second.first->deleteValue();
3551
}
3552
3553
for (const auto &P : ForwardRefValIDs) {
3554
3555
3556
3557
3558
3559
3560
0 commit comments