[RISCV][PowerPC] Fix google/benchmark benchmark::cycleclock::Now
This is a cherrypick of the upstream fix commit a77d5f7 onto
the llvm-test-suite's `MicroBenchmarks/libs/benchmark-1.3.0`,
to match the same cherrypick in the LLVM monorepo.
This fixes 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/D78456
2 files changed