[all-commits] [llvm/llvm-project] 081a80: Fix build issues with libc mem* benchmarks (#115982)

David Peixotto via All-commits all-commits at lists.llvm.org
Thu Nov 14 11:10:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 081a80f2b56763422183542ad10b5a6b0814312e
      https://github.com/llvm/llvm-project/commit/081a80f2b56763422183542ad10b5a6b0814312e
  Author: David Peixotto <peix at meta.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M libc/benchmarks/CMakeLists.txt
    M libc/benchmarks/LibcBenchmark.h
    M libc/benchmarks/MemorySizeDistributions.cpp

  Log Message:
  -----------
  Fix build issues with libc mem* benchmarks (#115982)

Fix a few issues found when trying to build the benchmark:

Errors

1. Unable to find include "src/__support/macros/config.h" in
LibcMemoryBenchmarkMain.cpp

Warnings

2. Unused variable warning `Index` in MemorySizeDistributions.cpp
3. Fix deprecation warning for const-ref version of `DoNotOptimize`.
warning: 'DoNotOptimize<void *>' is deprecated: The const-ref version of
this method can permit undesired compiler optimizations in benchmarks



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list