[all-commits] [llvm/llvm-project] afaaec: [SLP]Alternate vectorization for cmp instructions.
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Mon Jan 31 11:12:44 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: afaaecc88c6e5989de8a6a0266610860ef99d9d6
https://github.com/llvm/llvm-project/commit/afaaecc88c6e5989de8a6a0266610860ef99d9d6
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
M llvm/test/Transforms/SLPVectorizer/X86/cmp_commute-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/cmp_commute.ll
M llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll
M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
Log Message:
-----------
[SLP]Alternate vectorization for cmp instructions.
Added support for alternate ops vectorization of the cmp instructions.
It allows to vectorize either cmp instructions with same/swapped
predicate but different (swapped) operands kinds or cmp instructions
with different predicates and compatible operands kinds.
Differential Revision: https://reviews.llvm.org/D115955
More information about the All-commits
mailing list