[llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Sep 10 00:11:03 PDT 2003


Changes in directory llvm/lib/Transforms/Scalar:

IndVarSimplify.cpp updated: 1.34 -> 1.35

---
Log message:

Fix up file header


---
Diffs of the changes:

Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.34 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.35
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.34	Fri Aug  1 17:15:03 2003
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp	Wed Sep 10 00:10:34 2003
@@ -1,7 +1,9 @@
 //===- IndVarSimplify.cpp - Induction Variable Elimination ----------------===//
 //
-// InductionVariableSimplify - Transform induction variables in a program
-//   to all use a single cannonical induction variable per loop.
+// Guarantees that all loops with identifiable, linear, induction variables will
+// be transformed to have a single, cannonical, induction variable.  After this
+// pass runs, it guarantees the the first PHI node of the header block in the
+// loop is the cannonical induction variable if there is one.
 //
 //===----------------------------------------------------------------------===//
 





More information about the llvm-commits mailing list