diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-06-24 20:42:33 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-06-24 20:42:33 +0000 |
| commit | 64ea207027a7dee2b7fb1bfb85df8e4ac46f3a67 (patch) | |
| tree | 547b4b45c56dec4aa12b0bb2e7ea9cd92f3a4958 /llvm/lib | |
| parent | 09159b8f475633315b7737acde531fdfb8db3874 (diff) | |
| download | bcm5719-llvm-64ea207027a7dee2b7fb1bfb85df8e4ac46f3a67.tar.gz bcm5719-llvm-64ea207027a7dee2b7fb1bfb85df8e4ac46f3a67.zip | |
fix typos; NFC
llvm-svn: 240592
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp b/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp index e011af488dd..231411a16c0 100644 --- a/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp +++ b/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp @@ -134,8 +134,7 @@ static bool iterativelySimplifyCFG(Function &F, const TargetTransformInfo &TTI, while (LocalChange) { LocalChange = false; - // Loop over all of the basic blocks and remove them if they are unneeded... - // + // Loop over all of the basic blocks and remove them if they are unneeded. for (Function::iterator BBIt = F.begin(); BBIt != F.end(); ) { if (SimplifyCFG(BBIt++, TTI, BonusInstThreshold, AC)) { LocalChange = true; @@ -159,7 +158,7 @@ static bool simplifyFunctionCFG(Function &F, const TargetTransformInfo &TTI, // iterativelySimplifyCFG can (rarely) make some loops dead. If this happens, // removeUnreachableBlocks is needed to nuke them, which means we should // iterate between the two optimizations. We structure the code like this to - // avoid reruning iterativelySimplifyCFG if the second pass of + // avoid rerunning iterativelySimplifyCFG if the second pass of // removeUnreachableBlocks doesn't do anything. if (!removeUnreachableBlocks(F)) return true; |

