mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Simplify code. No functionality change.
llvm-svn: 166393
This commit is contained in:
parent
ed5ec60053
commit
a477da32fc
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user