Unverified Commit 4445ed42 authored by Oleg Shyshkov's avatar Oleg Shyshkov Committed by GitHub
Browse files

[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.
parent 13cd8810
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment