[all-commits] [llvm/llvm-project] f3ebd8: [SLP]Fix PR63141: compareCmp is not strict weak or...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Jun 27 14:37:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3ebd88064d7f1c36a8272b3e5f7d53501c3f53b
https://github.com/llvm/llvm-project/commit/f3ebd88064d7f1c36a8272b3e5f7d53501c3f53b
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2023-06-27 (Tue, 27 Jun 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/alternate-cmp-swapped-pred-parent.ll
Log Message:
-----------
[SLP]Fix PR63141: compareCmp is not strict weak ordering.
Added some extra checks for comapreCMP function if IsCompatibility is
false to make it meat the strict weak ordering requirements to be
correctly used in sort functions.
More information about the All-commits
mailing list