From e69bdcfeab268a6cca19a372ca79033800f57acb Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Thu, 21 Apr 2016 17:33:22 +0000 Subject: [PATCH] [LoopUtils] Fix typo in comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267016 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/LoopUtils.h | 2 +- lib/Transforms/Utils/LoopUtils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Transforms/Utils/LoopUtils.h b/include/llvm/Transforms/Utils/LoopUtils.h index e23a6712cc5..cb789b80a93 100644 --- a/include/llvm/Transforms/Utils/LoopUtils.h +++ b/include/llvm/Transforms/Utils/LoopUtils.h @@ -385,7 +385,7 @@ void computeLICMSafetyInfo(LICMSafetyInfo *, Loop *); /// \brief Returns the instructions that use values defined in the loop. SmallVector findDefsUsedOutsideOfLoop(Loop *L); -/// \brief Find string metadata for loop, if it exist return true, else return +/// \brief Find string metadata for loop, if it exists return true, else return /// false. bool findStringMetadataForLoop(Loop *TheLoop, StringRef Name); diff --git a/lib/Transforms/Utils/LoopUtils.cpp b/lib/Transforms/Utils/LoopUtils.cpp index e158e40ebf9..2f74b115493 100644 --- a/lib/Transforms/Utils/LoopUtils.cpp +++ b/lib/Transforms/Utils/LoopUtils.cpp @@ -823,7 +823,7 @@ void llvm::initializeLoopPassPass(PassRegistry &Registry) { INITIALIZE_PASS_DEPENDENCY(ScalarEvolutionWrapperPass) } -/// \brief Find string metadata for loop, if it exist return true, else return +/// \brief Find string metadata for loop, if it exists return true, else return /// false. bool llvm::findStringMetadataForLoop(Loop *TheLoop, StringRef Name) { MDNode *LoopID = TheLoop->getLoopID(); -- 2.11.0