[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 04:32:45 PDT 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6638
+ if (!Ptr || !Ptr->hasOneUse() ||
+ all_of(Ptr->indices(),
+ [](const Use &U) { return isConstant(U.get()); }))
----------------
Ptr->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