Add another item to the list of things that indvars does.
authorDan Gohman <gohman@apple.com>
Sun, 14 Jun 2009 22:38:41 +0000 (22:38 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 14 Jun 2009 22:38:41 +0000 (22:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73355 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index 38b11985519f20ee527e44145ccda946759062e1..429de9353696bb1374498712b0fe00aa427cc5eb 100644 (file)
 //      which starts at zero and steps by one.
 //   2. The canonical induction variable is guaranteed to be the first PHI node
 //      in the loop header block.
-//   3. Any pointer arithmetic recurrences are raised to use array subscripts.
+//   3. The canonical induction variable is guaranteed to be in a wide enough
+//      type so that IV expressions need not be (directly) zero-extended or
+//      sign-extended.
+//   4. Any pointer arithmetic recurrences are raised to use array subscripts.
 //
 // If the trip count of a loop is computable, this pass also makes the following
 // changes: