[pstl] A cleanup fix for sort parallel algorithm.
authorDvorskiy, Mikhail <mikhail.dvorskiy@intel.com>
Wed, 4 Mar 2020 10:41:20 +0000 (13:41 +0300)
committerDvorskiy, Mikhail <mikhail.dvorskiy@intel.com>
Thu, 5 Mar 2020 08:27:32 +0000 (11:27 +0300)
commite484c1759d410ab6229d17251fcd157b76ff840e
treebffd2ab46d71535ea9309314e5baf01ad4277944
parenteecef3af2ca8b27f4070be41c73bff989a096f9b
[pstl] A cleanup fix for sort parallel algorithm.

When one of sub-ranges has not been move constructed into a raw buffer, we should not call clean up for that sub-range. Instead of store detailed info about raw buffer history, the fix does the cleanup a sub-range after each moving the sub-range back.

https://reviews.llvm.org/D73779
pstl/include/pstl/internal/parallel_backend_tbb.h