File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -618,7 +618,7 @@ struct AllSwitchPaths {
618618
619619 VisitedBlocks UniqueBlocks;
620620 for (auto *IncomingBB : Phi->blocks ()) {
621- if (Res.size () >= MaxNumPaths)
621+ if (Res.size () >= MaxNumPaths)
622622 break ;
623623 if (!UniqueBlocks.insert (IncomingBB).second )
624624 continue ;
@@ -659,7 +659,7 @@ struct AllSwitchPaths {
659659 getPathsFromStateDefMap (StateDef, IncomingPhi, VB);
660660 for (ThreadingPath &Path : PredPaths) {
661661 Path.push_back (PhiBB);
662- if (Res.size () >= MaxNumPaths)
662+ if (Res.size () >= MaxNumPaths)
663663 break ;
664664 Res.push_back (std::move (Path));
665665 }
@@ -683,10 +683,10 @@ struct AllSwitchPaths {
683683 ThreadingPath NewPath (Path);
684684 NewPath.appendExcludingFirst (IPath);
685685 NewPath.push_back (PhiBB);
686- if (Res.size () >= MaxNumPaths) {
686+ if (Res.size () >= MaxNumPaths) {
687687 VB.erase (PhiBB);
688688 return Res;
689- }
689+ }
690690 Res.push_back (NewPath);
691691 }
692692 }
You can’t perform that action at this time.
0 commit comments