projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add comment.
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
LoopStrengthReduce.cpp
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 7ce4711cbee8798c244eb87217ebd90fafbd236d..5d80b75a274ae1d02a8974a57150dbaa73272b24 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-1214,7
+1214,7
@@
void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride,
Loop *L,
bool isOnlyStride) {
// If all the users are moved to another stride, then there is nothing to do.
- if (Uses.Users.
size() == 0
)
+ if (Uses.Users.
empty()
)
return;
// Keep track if every use in UsersToProcess is an address. If they all are,