Fix a typo in comment
authorMichael Zolotukhin <mzolotukhin@apple.com>
Tue, 29 Apr 2014 07:35:33 +0000 (07:35 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Tue, 29 Apr 2014 07:35:33 +0000 (07:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207499 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/LoopSimplify.cpp

index bd825eb864b3226b40831e2cd82060a9774d6fdb..f7787dafd5bff575dfed653a75385a8134ff1d99 100644 (file)
@@ -778,7 +778,7 @@ INITIALIZE_PASS_END(LoopSimplify, "loop-simplify",
 char &llvm::LoopSimplifyID = LoopSimplify::ID;
 Pass *llvm::createLoopSimplifyPass() { return new LoopSimplify(); }
 
-/// runOnLoop - Run down all loops in the CFG (recursively, but we could do
+/// runOnFunction - Run down all loops in the CFG (recursively, but we could do
 /// it in any convenient order) inserting preheaders...
 ///
 bool LoopSimplify::runOnFunction(Function &F) {