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 ff5dedd commit d4549abCopy full SHA for d4549ab
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
@@ -1829,7 +1829,6 @@ bool SimplifyCFGOpt::hoistSuccIdenticalTerminatorToSwitchOrIf(
1829
// Clone the terminator and hoist it into the pred, without any debug info.
1830
Instruction *NT = I1->clone();
1831
NT->insertInto(TIParent, TI->getIterator());
1832
-
1833
if (!NT->getType()->isVoidTy()) {
1834
I1->replaceAllUsesWith(NT);
1835
for (Instruction *OtherSuccTI : OtherSuccTIs)
0 commit comments