summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-01-05 21:40:08 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-01-05 21:40:08 +0000
commit8b8a600d920cf5b515871f6ed16d9cd7614d364b (patch)
treeeaba0713c57a259b105d73b93526a90a09c992cf
parent6c475a75953811bd14b115f5ab88d61ec996a799 (diff)
downloadbcm5719-llvm-8b8a600d920cf5b515871f6ed16d9cd7614d364b.tar.gz
bcm5719-llvm-8b8a600d920cf5b515871f6ed16d9cd7614d364b.zip
Fix typo. NFC
llvm-svn: 291178
-rw-r--r--llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index fd167db1178..2743574ecca 100644
--- a/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@ -997,7 +997,7 @@ bool LoopIdiomRecognize::runOnNoncountableLoop() {
/// Check if the given conditional branch is based on the comparison between
/// a variable and zero, and if the variable is non-zero, the control yields to
/// the loop entry. If the branch matches the behavior, the variable involved
-/// in the comparion is returned. This function will be called to see if the
+/// in the comparison is returned. This function will be called to see if the
/// precondition and postcondition of the loop are in desirable form.
static Value *matchCondition(BranchInst *BI, BasicBlock *LoopEntry) {
if (!BI || !BI->isConditional())
OpenPOWER on IntegriCloud