[all-commits] [llvm/llvm-project] f9c806: [SLP][NFC]Make isFirstInsertElement a weak strict ...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Tue May 24 06:08:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9c806ae5c53c990a935c46ba351cdcfb1271c58
      https://github.com/llvm/llvm-project/commit/f9c806ae5c53c990a935c46ba351cdcfb1271c58
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-05-24 (Tue, 24 May 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC]Make isFirstInsertElement a weak strict ordering comparator.

To be used correctly in a sort-like function, isFirstInsertElement
function must follow weak strict ordering rule, i.e.
isFirstInsertElement(IE1, IE1) should return false.




More information about the All-commits mailing list