[PATCH] D49488: [LV] Move InterleaveGroup and InterleavedAccessInfo to VectorUtils.h (NFC)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 09:24:45 PDT 2018


xbolva00 added inline comments.


================
Comment at: include/llvm/Analysis/VectorUtils.h:263
+    int Key = SmallestKey + Index;
+    if (!Members.count(Key))
+      return nullptr;
----------------
Do we need count?

if (Members.find(Key) == Members.end())
  return nullptr;

?


https://reviews.llvm.org/D49488





More information about the llvm-commits mailing list