[PATCH] D135282: [SLP]Improve costs of vectorized loads/stores by analyzing GEPs.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 06:58:39 PDT 2022


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6675
+            all_of(Ptr->indices(),
+                   [](const Use &U) { return isConstant(U.get()); }))
+          continue;
----------------
hasAllConstantIndices


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:11493
+                all_of(Ptr->indices(),
+                       [](const Use &U) { return isConstant(U.get()); }))
+              continue;
----------------
hasAllConstantIndices


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135282/new/

https://reviews.llvm.org/D135282



More information about the llvm-commits mailing list