[PATCH] D102522: [llvm-exegesis] Loop unrolling for loop snippet repetitor mode

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 22 14:44:51 PDT 2021


lebedev.ri added a comment.

@courbet ping
Argh, i've again forgot to submit inline comment :(



================
Comment at: llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp:172
+    const int kMinInstructionsForSnippet = 4 * Instructions.size();
+    const int kLoopBodySizeForSnippet = 2 * Instructions.size();
     {
----------------
courbet wrote:
> ditto
So if i pass `LoopBodySize` into constructor of `LoopSnippetRepetitor`,
how can i adjust it here then?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102522



More information about the llvm-commits mailing list