[all-commits] [llvm/llvm-project] 438f7f: [libc][benchmarks] Link the memory benchmark exes ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Jun 17 11:43:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 438f7fc068f9ba5555052c4af0b10f5e816c3a01
      https://github.com/llvm/llvm-project/commit/438f7fc068f9ba5555052c4af0b10f5e816c3a01
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2020-06-17 (Wed, 17 Jun 2020)

  Changed paths:
    M libc/CMakeLists.txt
    A libc/benchmarks/CMakeLists.txt
    A libc/benchmarks/JSON.cpp
    A libc/benchmarks/JSON.h
    A libc/benchmarks/JSONTest.cpp
    A libc/benchmarks/LibcBenchmark.cpp
    A libc/benchmarks/LibcBenchmark.h
    A libc/benchmarks/LibcBenchmarkTest.cpp
    A libc/benchmarks/LibcMemoryBenchmark.cpp
    A libc/benchmarks/LibcMemoryBenchmark.h
    A libc/benchmarks/LibcMemoryBenchmarkMain.cpp
    A libc/benchmarks/LibcMemoryBenchmarkMain.h
    A libc/benchmarks/LibcMemoryBenchmarkTest.cpp
    A libc/benchmarks/Memcmp.cpp
    A libc/benchmarks/Memcpy.cpp
    A libc/benchmarks/Memset.cpp
    A libc/benchmarks/RATIONALE.md
    A libc/benchmarks/README.md
    A libc/benchmarks/configuration_big.json
    A libc/benchmarks/configuration_small.json
    A libc/benchmarks/render.py3
    M libc/utils/CMakeLists.txt
    R libc/utils/benchmarks/CMakeLists.txt
    R libc/utils/benchmarks/JSON.cpp
    R libc/utils/benchmarks/JSON.h
    R libc/utils/benchmarks/JSONTest.cpp
    R libc/utils/benchmarks/LibcBenchmark.cpp
    R libc/utils/benchmarks/LibcBenchmark.h
    R libc/utils/benchmarks/LibcBenchmarkTest.cpp
    R libc/utils/benchmarks/LibcMemoryBenchmark.cpp
    R libc/utils/benchmarks/LibcMemoryBenchmark.h
    R libc/utils/benchmarks/LibcMemoryBenchmarkMain.cpp
    R libc/utils/benchmarks/LibcMemoryBenchmarkMain.h
    R libc/utils/benchmarks/LibcMemoryBenchmarkTest.cpp
    R libc/utils/benchmarks/Memcmp.cpp
    R libc/utils/benchmarks/Memcpy.cpp
    R libc/utils/benchmarks/Memset.cpp
    R libc/utils/benchmarks/RATIONALE.md
    R libc/utils/benchmarks/README.md
    R libc/utils/benchmarks/configuration_big.json
    R libc/utils/benchmarks/configuration_small.json
    R libc/utils/benchmarks/render.py3

  Log Message:
  -----------
  [libc][benchmarks] Link the memory benchmark exes to functions from LLVM libc.

Summary:
To get the target order correct, the benchmarks directory has been moved
one level higher. Previously, it was living in the utils directory. The
utils directory is a collection of utils which are to be used by the
tests and implementations. However, benchmarks *use* the
implementations. So, moving it out of utils helps us setup proper
target level dependencies.

Reviewers: gchatelet

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




More information about the All-commits mailing list