diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-10-21 02:38:01 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-10-21 02:38:01 +0000 |
commit | 5a418ba5f5a6498a25d5eacb0f876d9f358c977b (patch) | |
tree | ee3c7dc1c523d80d980c59b6cac1982bdc341fed /lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 64486737d59c835725c61c96511beeff7e31f403 (diff) |
Vectorizer: fix a bug in the classification of induction/reduction phis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | lib/Transforms/Vectorize/LoopVectorize.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 027fe0656b..76936d52c9 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -950,6 +950,9 @@ bool LoopVectorizationLegality::canVectorizeBlock(BasicBlock &BB) { DEBUG(dbgs() << "LV: Found an Mult reduction PHI."<< *Phi <<"\n"); continue; } + + DEBUG(dbgs() << "LV: Found an unidentified PHI."<< *Phi <<"\n"); + return false; }// end of PHI handling // We still don't handle functions. |