projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify code. No functionality change.
[oota-llvm.git]
/
lib
/
Transforms
/
Vectorize
/
LoopVectorize.cpp
diff --git
a/lib/Transforms/Vectorize/LoopVectorize.cpp
b/lib/Transforms/Vectorize/LoopVectorize.cpp
index 7efb003b2760377e10b5e3da61ec60a39eab4c77..dfa29093e68cf3ed8dd8dce8aa2e1f0082ed85b4 100644
(file)
--- a/
lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/
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.