summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-05-06 03:06:36 +0000
committerNadav Rotem <nrotem@apple.com>2013-05-06 03:06:36 +0000
commit632b25b743e1ce9811da5709094924bb5308b4d4 (patch)
tree396e7e5e7361abe70f70bfc39f50c0768b0a781a
parentc70ef4e93c93eea7f1f2853df49e8f35ce71c585 (diff)
downloadbcm5719-llvm-632b25b743e1ce9811da5709094924bb5308b4d4.tar.gz
bcm5719-llvm-632b25b743e1ce9811da5709094924bb5308b4d4.zip
Update the comment to mention that we use TTI.
llvm-svn: 181178
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 9a85ee812cf..491e9cc2480 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -8,9 +8,9 @@
//===----------------------------------------------------------------------===//
//
// This is the LLVM loop vectorizer. This pass modifies 'vectorizable' loops
-// and generates target-independent LLVM-IR. Legalization of the IR is done
-// in the codegen. However, the vectorizer uses (will use) the codegen
-// interfaces to generate IR that is likely to result in an optimal binary.
+// and generates target-independent LLVM-IR.
+// The vectorizer uses the TargetTransformInfo analysis to estimate the costs
+// of instructions in order to estimate the profitability of vectorization.
//
// The loop vectorizer combines consecutive loop iterations into a single
// 'wide' iteration. After this transformation the index is incremented
OpenPOWER on IntegriCloud