[PATCH] D41843: [libcxx] implement <experimental/simd> where expressions.

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 16:46:09 PST 2018


timshen created this revision.
timshen added reviewers: mclow.lists, EricWF.
Herald added a subscriber: sanjoy.

Where expressions have three cases:
*) const_where_expression<simd_mask<...>, simd<...>>, we store two
references to the mask and the simd<> value.
*) const_where_expression<simd_mask<...>, simd_mask<...>>, we store two
references to the mask and the simd_mask<> value.
*) const_where_expression<bool, _Tp>, we store a bool by value, and _Tp
by reference.


https://reviews.llvm.org/D41843

Files:
  libcxx/include/experimental/simd
  libcxx/test/std/experimental/simd/simd.whereexpr/const_where_expression.pass.cpp
  libcxx/test/std/experimental/simd/simd.whereexpr/where.pass.cpp
  libcxx/test/std/experimental/simd/simd.whereexpr/where_expression.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41843.129003.patch
Type: text/x-patch
Size: 34885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180109/e9e56ef7/attachment-0001.bin>


More information about the cfe-commits mailing list