summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-10 05:10:34 +0000
committerChris Lattner <sabre@nondot.org>2003-09-10 05:10:34 +0000
commit36257f049ee87e995b64987e35537d8b2eacedbb (patch)
tree970b31b9351e9557c693744bf5d61f276acde72c /llvm/lib/Transforms
parent19b34d12c30bb368bbc11238e98d3dba74d34933 (diff)
downloadbcm5719-llvm-36257f049ee87e995b64987e35537d8b2eacedbb.tar.gz
bcm5719-llvm-36257f049ee87e995b64987e35537d8b2eacedbb.zip
Fix up file header
llvm-svn: 8428
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 4203818baaf..02a1dbdb933 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -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.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud