diff options
| author | Dan Gohman <gohman@apple.com> | 2009-06-14 22:38:41 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-06-14 22:38:41 +0000 | 
| commit | 9b4c85ff62486d9d65a55f067f105bd0fd84b093 (patch) | |
| tree | 862e3e31aa534140a5f072d2f2538eac21f5ca16 /llvm/lib/Transforms | |
| parent | b6495b26e52629572ad9ee37cd5e66481e4da808 (diff) | |
| download | bcm5719-llvm-9b4c85ff62486d9d65a55f067f105bd0fd84b093.tar.gz bcm5719-llvm-9b4c85ff62486d9d65a55f067f105bd0fd84b093.zip | |
Add another item to the list of things that indvars does.
llvm-svn: 73355
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index 38b11985519..429de935369 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -17,7 +17,10 @@  //      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: | 

