[PATCH] D133524: [SLP]Improve reordering of clustered reused scalars.
Valeriy Dmitriev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 13:04:49 PDT 2022
vdmitrie accepted this revision.
vdmitrie added a comment.
This revision is now accepted and ready to land.
Looks good with a nit.
================
Comment at: llvm/lib/IR/Instructions.cpp:2578
+ // If each index is used just once, the sum of such indices is VF * (VF - 1) /
+ // 2 - arithmetic sequence.
+ for (unsigned K = 0, Sz = Mask.size(); K < Sz; K += VF) {
----------------
The comment can be removed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133524/new/
https://reviews.llvm.org/D133524
More information about the llvm-commits
mailing list