[PATCH] D64082: [MemFunctions] Add microbenchmarks for memory functions.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 08:53:12 PDT 2019


courbet created this revision.
Herald added a subscriber: mgorny.
Herald added a project: LLVM.

Memory functions (memcmp, memcpy, ...) are typically recognized by the
compiler and expanded to specific asm patterns when the size is known at
compile time.

This will help catch any regressions in expansions.

Right now we're only testing memcmp (see context in D60318 <https://reviews.llvm.org/D60318>).


Repository:
  rT test-suite

https://reviews.llvm.org/D64082

Files:
  MicroBenchmarks/CMakeLists.txt
  MicroBenchmarks/MemFunctions/CMakeLists.txt
  MicroBenchmarks/MemFunctions/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64082.207570.patch
Type: text/x-patch
Size: 5123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190702/49d95ebd/attachment.bin>


More information about the llvm-commits mailing list