[PATCH] D112467: [SLP]Do not reorder reduction nodes.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 26 06:45:36 PDT 2021
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM - cheers
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3065
}
+ // If the reordering is free, just remove the reorder.
+ if (IgnoreReorder && !VectorizableTree.front()->ReorderIndices.empty() &&
----------------
If the reordering is unnecessary, just remove the reorder.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112467/new/
https://reviews.llvm.org/D112467
More information about the llvm-commits
mailing list