[libc-commits] [libc] b840f30 - [libc] Fix automemcpy test by adding memmove configuration

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Wed Feb 2 03:28:33 PST 2022


Author: Guillaume Chatelet
Date: 2022-02-02T11:28:06Z
New Revision: b840f30d1e89d8516d13913114f9fdfe8819fe36

URL: https://github.com/llvm/llvm-project/commit/b840f30d1e89d8516d13913114f9fdfe8819fe36
DIFF: https://github.com/llvm/llvm-project/commit/b840f30d1e89d8516d13913114f9fdfe8819fe36.diff

LOG: [libc] Fix automemcpy test by adding memmove configuration

Added: 
    

Modified: 
    libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp

Removed: 
    


################################################################################
diff  --git a/libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp b/libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp
index d87b27b2002b6..ef16a61c63205 100644
--- a/libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp
+++ b/libc/benchmarks/automemcpy/unittests/CodeGenTest.cpp
@@ -59,6 +59,7 @@ TEST(Automemcpy, Codegen) {
 using llvm::libc_benchmarks::BzeroConfiguration;
 using llvm::libc_benchmarks::MemcmpOrBcmpConfiguration;
 using llvm::libc_benchmarks::MemcpyConfiguration;
+using llvm::libc_benchmarks::MemmoveConfiguration;
 using llvm::libc_benchmarks::MemsetConfiguration;
 
 namespace __llvm_libc {
@@ -211,6 +212,10 @@ llvm::ArrayRef<BzeroConfiguration> getBzeroConfigurations() {
   };
   return llvm::makeArrayRef(kConfigurations);
 }
+
+llvm::ArrayRef<MemmoveConfiguration> getMemmoveConfigurations() {
+  return {};
+}
 // Functions : 6
 )");
 }


        


More information about the libc-commits mailing list