Skip to content

Commit a5f689b

Browse files
jayfoadGroverkss
authored andcommitted
[StructurizeCFG] Remove one SSAUpdater::AddAvailableValue. NFCI. (llvm#115472)
1 parent ac07af8 commit a5f689b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Scalar/StructurizeCFG.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ void StructurizeCFG::insertConditions(bool Loops) {
619619
BasicBlock *SuccFalse = Term->getSuccessor(1);
620620

621621
PhiInserter.Initialize(Boolean, "");
622-
PhiInserter.AddAvailableValue(&Func->getEntryBlock(), Default);
623622
PhiInserter.AddAvailableValue(Loops ? SuccFalse : Parent, Default);
624623

625624
BBPredicates &Preds = Loops ? LoopPreds[SuccFalse] : Predicates[SuccTrue];

0 commit comments

Comments
 (0)