[all-commits] [llvm/llvm-project] ef36e8: [libc] Using llvm_libc memcpy in mem* benchmarks.

Anthony Steinhauser via All-commits all-commits at lists.llvm.org
Thu Sep 24 22:04:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ef36e8380a9109c43ef4a564083428a14a9b818a
      https://github.com/llvm/llvm-project/commit/ef36e8380a9109c43ef4a564083428a14a9b818a
  Author: Anthony Steinhauser <asteinhauser at google.com>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M libc/benchmarks/Memcpy.cpp

  Log Message:
  -----------
  [libc] Using llvm_libc memcpy in mem* benchmarks.

Currently the mem* benchmarks use memcpy from Glibc and memset from LLVM libc.
That's misleading and produces inconsistent results and behaviors.

This change makes Memcpy.cpp consistent with Memset.cpp:
https://github.com/llvm/llvm-project/blob/master/libc/benchmarks/Memset.cpp#L49

Reviewers: sivachandra

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D88271




More information about the All-commits mailing list