[libc-commits] [PATCH] D72516: [llvm-libc] Add memory function benchmarks

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jan 22 14:40:44 PST 2020


sivachandra added inline comments.


================
Comment at: libc/utils/benchmarks/Memcmp.cpp:64
+    FunctionPrototype Function =
+        StringSwitch<FunctionPrototype>(FunctionName).Case("memcmp", &::memcmp);
+    return llvm::libc_benchmarks::benchmark(
----------------
ckennelly wrote:
> Should we setup an analogous benchmark for `bcmp`?
Shoud llvm-libc provide bcmp at all?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72516/new/

https://reviews.llvm.org/D72516





More information about the libc-commits mailing list