[PATCH] D101844: [MicroBenchmarks] Add initial loop vectorization benchmarks.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 09:57:39 PDT 2021


lebedev.ri added a comment.

In D101844#2736635 <https://reviews.llvm.org/D101844#2736635>, @jroelofs wrote:

> In D101844#2736630 <https://reviews.llvm.org/D101844#2736630>, @Meinersbur wrote:
>
>> The comparison is part of the time measurements. This doesn't seem useful to be for benchmarking the vectorized and non-vectorized versions together.
>
> My understanding was that googlebench only measures timing in the `for (auto _ : state)` loop, and that the setup before / after isn't counted.

Correct.


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101844/new/

https://reviews.llvm.org/D101844



More information about the llvm-commits mailing list