[all-commits] [llvm/llvm-project] a8f1a3: [SLP]Fix PR63141: compareCmp is not strict weak or...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Jun 28 06:06:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8f1a3e025c905f015a622809e58b03f09b7a58e
      https://github.com/llvm/llvm-project/commit/a8f1a3e025c905f015a622809e58b03f09b7a58e
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-06-28 (Wed, 28 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