Add comment.
[oota-llvm.git] / lib / Transforms / Scalar / LoopStrengthReduce.cpp
index 7ce4711cbee8798c244eb87217ebd90fafbd236d..5d80b75a274ae1d02a8974a57150dbaa73272b24 100644 (file)
@@ -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,