[all-commits] [llvm/llvm-project] b9ad72: [SLP]Fix PR66176: SLP incorrectly reorders select ...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Sep 15 04:00:03 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9ad72ba056126d462d229877cdce1efa0761136
https://github.com/llvm/llvm-project/commit/b9ad72ba056126d462d229877cdce1efa0761136
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
M llvm/test/Transforms/SLPVectorizer/const-bool-logical-or-reduction.ll
Log Message:
-----------
[SLP]Fix PR66176: SLP incorrectly reorders select operands.
On the very first iteration for the reductions, when trying to build
reduction for boolean logic operations, no need to compare LHS/RHS with
the Reduction(VectorizedTree), need to compare with actual parameters of
the reduction operations.
More information about the All-commits
mailing list