[all-commits] [llvm/llvm-project] 51dd3e: [MLIR][OpenMP] Bail early in sortMapIndices if ind...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Nov 25 03:23:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51dd3ec13c51b0e399cbceafb84698b7241ed731
      https://github.com/llvm/llvm-project/commit/51dd3ec13c51b0e399cbceafb84698b7241ed731
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-25 (Tue, 25 Nov 2025)

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

  Log Message:
  -----------
  [MLIR][OpenMP] Bail early in sortMapIndices if indices are the same (#169474)

If we are given the same index in the comparator callback, simply return
false. Otherwise we will end up adding invalid items to
occludedChildren, causing extra items to get removed that should not be,
resulting in failures that manifest in different forms (assertions, asan
failures, ubsan failures, etc.).



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