[llvm-bugs] [Bug 34339] New: std::copy does not optimise for reverse_iterator.
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Aug 27 13:46:34 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34339
Bug ID: 34339
Summary: std::copy does not optimise for reverse_iterator.
Product: libc++
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: denis.yaroshevskij at gmail.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
std::copy could unroll 3 reverse_iterators into copy_backward and than do a
memmove.
Example: https://godbolt.org/g/G6NWRG
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170827/972d8033/attachment.html>
More information about the llvm-bugs
mailing list