[RISCV][PowerPC] Fix google/benchmark benchmark::cycleclock::Now
authorLuís Marques <luismarques@lowrisc.org>
Sat, 18 Apr 2020 08:26:15 +0000 (09:26 +0100)
committerLuís Marques <luismarques@lowrisc.org>
Sat, 18 Apr 2020 08:32:19 +0000 (09:32 +0100)
commit60ce987bf31d6249c1f19e454f53b9d228925dcd
tree16e7cbfba23e83384348c4b24adc4e58ab92ea42
parentc1c01212c49a0792c0594662db84be271e29cba6
[RISCV][PowerPC] Fix google/benchmark benchmark::cycleclock::Now

Cherrypick the upstream fix commit a77d5f7 onto llvm/utils/benchmark
and libcxx/utils/google-benchmark.
This fixes LLVM's 32-bit RISC-V compilation, and the issues
mentioned in https://github.com/google/benchmark/pull/955
An additional cherrypick of ecc1685 fixes some minor formatting
issues introduced by the preceding commit.

Differential Revision: https://reviews.llvm.org/D78084
libcxx/utils/google-benchmark/README.LLVM
libcxx/utils/google-benchmark/src/cycleclock.h
llvm/utils/benchmark/README.LLVM
llvm/utils/benchmark/src/cycleclock.h