OSDN Git Service

Fix a really wrong comment.
authorDale Johannesen <dalej@apple.com>
Wed, 3 Dec 2008 19:25:46 +0000 (19:25 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 3 Dec 2008 19:25:46 +0000 (19:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60494 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 5fa52df..1e6a4e8 100644 (file)
@@ -1180,7 +1180,7 @@ SCEVHandle LoopStrengthReduce::CollectIVUsers(const SCEVHandle &Stride,
   for (unsigned i = 0, e = Uses.Users.size(); i != e; ++i) {
     UsersToProcess.push_back(BasedUser(Uses.Users[i], SE));
     
-    // Move any loop invariant operands from the offset field to the immediate
+    // Move any loop variant operands from the offset field to the immediate
     // field of the use, so that we don't try to use something before it is
     // computed.
     MoveLoopVariantsToImediateField(UsersToProcess.back().Base,