[libcxx-commits] [PATCH] D150201: [libcxx] Fix pstl __init_ identifier after 9c4717a
Aaron Siddhartha Mondal via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 10 10:21:25 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG059986328c24: [libcxx] Fix pstl __init_ identifier after 9c4717a (authored by aaronmondal).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150201/new/
https://reviews.llvm.org/D150201
Files:
libcxx/include/__pstl/internal/unseq_backend_simd.h
Index: libcxx/include/__pstl/internal/unseq_backend_simd.h
===================================================================
--- libcxx/include/__pstl/internal/unseq_backend_simd.h
+++ libcxx/include/__pstl/internal/unseq_backend_simd.h
@@ -513,11 +513,11 @@
_CombinerType __combined_init{__init, &__binary_op};
_PSTL_PRAGMA_DECLARE_REDUCTION(__bin_op, _CombinerType)
- _PSTL_PRAGMA_SIMD_SCAN(__bin_op : __init_)
+ _PSTL_PRAGMA_SIMD_SCAN(__bin_op : __combined_init)
for (_Size __i = 0; __i < __n; ++__i)
{
__result[__i] = __combined_init.__value_;
- _PSTL_PRAGMA_SIMD_EXCLUSIVE_SCAN(__init_)
+ _PSTL_PRAGMA_SIMD_EXCLUSIVE_SCAN(__combined_init)
__combined_init.__value_ = __binary_op(__combined_init.__value_, __unary_op(__first[__i]));
}
return std::make_pair(__result + __n, __combined_init.__value_);
@@ -553,11 +553,11 @@
_CombinerType __combined_init{__init, &__binary_op};
_PSTL_PRAGMA_DECLARE_REDUCTION(__bin_op, _CombinerType)
- _PSTL_PRAGMA_SIMD_SCAN(__bin_op : __init_)
+ _PSTL_PRAGMA_SIMD_SCAN(__bin_op : __combined_init)
for (_Size __i = 0; __i < __n; ++__i)
{
__combined_init.__value_ = __binary_op(__combined_init.__value_, __unary_op(__first[__i]));
- _PSTL_PRAGMA_SIMD_INCLUSIVE_SCAN(__init_)
+ _PSTL_PRAGMA_SIMD_INCLUSIVE_SCAN(__combined_init)
__result[__i] = __combined_init.__value_;
}
return std::make_pair(__result + __n, __combined_init.__value_);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150201.521029.patch
Type: text/x-patch
Size: 1511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230510/0482db8c/attachment-0001.bin>
More information about the libcxx-commits
mailing list