aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-05-10 22:56:18 +0000
committerNadav Rotem <nrotem@apple.com>2013-05-10 22:56:18 +0000
commit09ec4b21648700f9d4ef5bc90d732f90f32c930c (patch)
treeee2f14910ecbe0a33b3bc59291db17c457a4eb57 /lib
parentef3e423e2313ee05ba136aafc1e34c45a2702577 (diff)
Add a debug print
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Vectorize/SLPVectorizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index cc30cc9278..4e89ac7c09 100644
--- a/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -77,6 +77,8 @@ struct SLPVectorizer : public FunctionPass {
if (!DL)
return false;
+ DEBUG(dbgs()<<"SLP: Analyzing blocks in " << F.getName() << ".\n");
+
for (Function::iterator it = F.begin(), e = F.end(); it != e; ++it) {
BasicBlock *BB = it;
bool BBChanged = false;