[all-commits] [llvm/llvm-project] 4445ed: [OpenMP][MLIR] Fix llvm::sort comparator. (#91963)
Oleg Shyshkov via All-commits
all-commits at lists.llvm.org
Mon May 13 06:58:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4445ed4244cd00981a04b1f461128ed4c47c1dec
https://github.com/llvm/llvm-project/commit/4445ed4244cd00981a04b1f461128ed4c47c1dec
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. (#91963)
The current comparator doesn't work correctly when two identical entries
with -1 are compared. The comparator returns `first` is case when
`aIndex == -1 && bIndex == -1`, but it should `continue` as those
indexes are the same.
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