[PATCH] D34038: Implement the non-parallel versions of exclusive_scan and transform_exclusive_scan

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 8 20:08:51 PDT 2017


mclow.lists updated this revision to Diff 101989.
mclow.lists added a comment.

Turn the for loops into do-while loops, saving a comparison.


https://reviews.llvm.org/D34038

Files:
  include/numeric
  test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan_iter_iter_iter.pass.cpp
  test/std/numerics/numeric.ops/exclusive.scan/exclusive_scan_iter_iter_iter_init_op.pass.cpp
  test/std/numerics/numeric.ops/transform.exclusive.scan/transform_exclusive_scan_iter_iter_iter_init_bop_uop.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34038.101989.patch
Type: text/x-patch
Size: 14962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170609/81055630/attachment.bin>


More information about the cfe-commits mailing list