We want llvm-exegesis to explore instructions (effect of initial register values, effect of operand selection). To enable this a BenchmarkResult muststore all the relevant data in its key. This patch starts adding such data. Here we simply allow to store the generated instructions, following patches will add operands and initial values for registers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 18939 Build 18939: arc lint + arc unit
Event Timeline
tools/llvm-exegesis/lib/BenchmarkResult.h | ||
---|---|---|
31 | nit: move the class definition to the end of the header as this is more an artifact and therefore less important than the schema.. | |
54 | Can you mention that we're not directly getting the name from the sched model to avoid creating a dependency to make testing easier ? | |
tools/llvm-exegesis/llvm-exegesis.cpp | ||
143 | writeYamlOrDie(getBenchmarkResultContext(State), BenchmarkFile); ? | |
175 | ditto |
tools/llvm-exegesis/llvm-exegesis.cpp | ||
---|---|---|
143 | As discussed offline, I had to make the reference const and const_cast. |
nit: move the class definition to the end of the header as this is more an artifact and therefore less important than the schema..