mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Simplify code. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166393 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b75209cb66
commit
ffe5008fd3
@ -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…
Reference in New Issue
Block a user