diff options
author | Nadav Rotem <nrotem@apple.com> | 2013-05-10 22:56:18 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2013-05-10 22:56:18 +0000 |
commit | 09ec4b21648700f9d4ef5bc90d732f90f32c930c (patch) | |
tree | ee2f14910ecbe0a33b3bc59291db17c457a4eb57 /lib | |
parent | ef3e423e2313ee05ba136aafc1e34c45a2702577 (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.cpp | 2 |
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; |