aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-01-08 22:22:09 +0000
committerDavide Italiano <davide@freebsd.org>2017-01-08 22:22:09 +0000
commit362cc7b0fd357aeebed8868e9d62f659e7798ef0 (patch)
treeff465bfdf8679e7cecd4253bb35747ff2afc1bf2 /llvm/lib/Analysis/LoopInfo.cpp
parentf9c59b71220ce1b740a85a1b4b6d962fae60c3c1 (diff)
downloadllvm-362cc7b0fd357aeebed8868e9d62f659e7798ef0.zip
llvm-362cc7b0fd357aeebed8868e9d62f659e7798ef0.tar.gz
llvm-362cc7b0fd357aeebed8868e9d62f659e7798ef0.tar.bz2
[LCSSA] Fix some typos. NFCI.
llvm-svn: 291404
Diffstat (limited to 'llvm/lib/Analysis/LoopInfo.cpp')
-rw-r--r--llvm/lib/Analysis/LoopInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp
index 19c0171..3d85ef6 100644
--- a/llvm/lib/Analysis/LoopInfo.cpp
+++ b/llvm/lib/Analysis/LoopInfo.cpp
@@ -179,9 +179,9 @@ bool Loop::isLCSSAForm(DominatorTree &DT) const {
}
bool Loop::isRecursivelyLCSSAForm(DominatorTree &DT, const LoopInfo &LI) const {
- // For each block we check that it doesn't have any uses outside of it's
- // innermost loop. This process will transitivelly guarntee that current loop
- // and all of the nested loops are in the LCSSA form.
+ // For each block we check that it doesn't have any uses outside of its
+ // innermost loop. This process will transitively guarantee that the current
+ // loop and all of the nested loops are in LCSSA form.
return all_of(this->blocks(), [&](const BasicBlock *BB) {
return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT);
});