Skip to content

Commit 6cec630

Browse files
committed
Fix formatting
1 parent b4a750f commit 6cec630

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)