[all-commits] [llvm/llvm-project] 7439e1: [SLP]Fix incorrect reordering of clustered scalars.
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Jan 6 16:45:01 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7439e1b2deba770860d0518956d6eb3e7315f63f
https://github.com/llvm/llvm-project/commit/7439e1b2deba770860d0518956d6eb3e7315f63f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/reorder-clustered-node.ll
Log Message:
-----------
[SLP]Fix incorrect reordering of clustered scalars.
The new mask represents the order, not the mask itself. At first, need
to treat as the order, convert to mask and only after that reorder
gathered scalars to build correct clustered order.
Differential Revision: https://reviews.llvm.org/D141161
More information about the All-commits
mailing list