diff options
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 7efb003b276..dfa29093e68 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1230,7 +1230,7 @@ bool LoopVectorizationLegality::AddReductionVar(PHINode *Phi,      // If the instruction has no users then this is a broken      // chain and can't be a reduction variable. -    if (Iter->use_begin() == Iter->use_end()) +    if (Iter->use_empty())        return false;      // For each of the *users* of iter.  | 

