[libcxx-commits] [PATCH] D118029: Introduce branchless sorting functions for sort3, sort4 and sort5.

Marco Gelmi via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 30 07:53:23 PDT 2022


marcogelmi updated this revision to Diff 419140.
marcogelmi added a comment.

Enable branchless sort for simple comparators only. Increase test coverage.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118029/new/

https://reviews.llvm.org/D118029

Files:
  libcxx/benchmarks/algorithms.bench.cpp
  libcxx/include/__algorithm/sort.h
  libcxx/test/libcxx/algorithms/robust_against_copying_comparators.pass.cpp
  libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118029.419140.patch
Type: text/x-patch
Size: 35804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220330/7e3663ea/attachment-0001.bin>


More information about the libcxx-commits mailing list