[all-commits] [llvm/llvm-project] 19a62f: [OpenMP][MLIR] Fix llvm::sort comparator. (#91947)

Oleg Shyshkov via All-commits all-commits at lists.llvm.org
Mon May 13 05:08:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19a62fbe00930d7eaa9f948c8dd26d58f5422c00
      https://github.com/llvm/llvm-project/commit/19a62fbe00930d7eaa9f948c8dd26d58f5422c00
  Author: Oleg Shyshkov <shyshkov at google.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [OpenMP][MLIR] Fix llvm::sort comparator. (#91947)

llvm::sort requires the comparator to return `false` for equal elements,
otherwise it triggers `Your comparator is not a valid strict-weak
ordering` assert.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list