https://bugs.llvm.org/show_bug.cgi?id=40575

            Bug ID: 40575
           Summary: std::copy to memmove optimisation seems to not work.
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

std::copy has an optimization to memmove but it doesn't seem to work:
https://gcc.godbolt.org/z/a6lvSm (no memmove)

I has real consequences:
libstdc++: http://quick-bench.com/vpLxYCWfverSzlWxFjwuXxELD8Q
libc++: http://quick-bench.com/kfsPjkSo79hHiy0ZVrMCn7wU6Xw

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to