[all-commits] [llvm/llvm-project] ad2a0c: [SLP]Alternate vectorization for cmp instructions.
Andrew V. Tischenko via All-commits
all-commits at lists.llvm.org
Thu Feb 3 06:27:16 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad2a0ccf8f9816fd7805138bbf582117246f5489
https://github.com/llvm/llvm-project/commit/ad2a0ccf8f9816fd7805138bbf582117246f5489
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
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/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