The vectors being sorted here shouldn't contain duplicate entries. Prior to this patch this was checked with an assert within the std::sort predicate. However, std::sort may compare an element against itself which causes the assert to fire (false positive). Move the assert outside of the sort predicate to avoid such issues.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo