[PATCH] D132698: [SLP]Fix alternate cmp operands analysis.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 25 12:22:02 PDT 2022
ABataev created this revision.
ABataev added reviewers: RKSimon, vdmitrie.
Herald added subscribers: vporpo, hiraditya.
Herald added a project: All.
ABataev requested review of this revision.
Herald added a project: LLVM.
Missed negation on the results for areCompatibleCmpOps for alternate cmp
operations, it may lead to non-optimal operands ordering.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132698
Files:
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-logical.ll
llvm/test/Transforms/SLPVectorizer/X86/alternate-cmp-swapped-pred.ll
llvm/test/Transforms/SLPVectorizer/X86/cmp-as-alternate-ops.ll
llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132698.455687.patch
Type: text/x-patch
Size: 13038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220825/8ec336d8/attachment.bin>
More information about the llvm-commits
mailing list