[PATCH] D47764: [llvm-exegesis] Add instructions to BenchmarkResult Key.

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 5 02:30:19 PDT 2018


gchatelet marked 3 inline comments as done.
gchatelet added inline comments.


================
Comment at: tools/llvm-exegesis/llvm-exegesis.cpp:143
   Runner->run(GetOpcodeOrDie(State.getInstrInfo()), Filter, NumRepetitions)
-      .writeYamlOrDie(BenchmarkFile);
+      .writeYamlOrDie(Ctx, BenchmarkFile);
   exegesis::pfm::pfmTerminate();
----------------
courbet wrote:
> `writeYamlOrDie(getBenchmarkResultContext(State), BenchmarkFile);` ?
As discussed offline, I had to make the reference `const` and `const_cast`.


Repository:
  rL LLVM

https://reviews.llvm.org/D47764





More information about the llvm-commits mailing list