This is an archive of the discontinued LLVM Phabricator instance.

[llvm-exegesis] Refactor InstructionBenchmark to Benchmark
ClosedPublic

Authored by aidengrossman on Mar 25 2023, 1:39 PM.

Details

Summary

When llvm-exegesis was first introduced, it only supported benchmarking
individual instructions, hence the name for the data structure storing
the data corresponding to a benchmark being called InstructionBenchmark
made sense. However, now that benchmarking arbitrary snippets is
supported, InstructionBenchmark doesn't correspond to a single
instruction. This patch refactors InstructionBenchmark to be called
Benchmark to clean up this little bit of technical debt.

Diff Detail

Event Timeline

aidengrossman created this revision.Mar 25 2023, 1:39 PM
aidengrossman requested review of this revision.Mar 25 2023, 1:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2023, 1:39 PM
courbet accepted this revision.Mar 27 2023, 12:47 AM
This revision is now accepted and ready to land.Mar 27 2023, 12:47 AM
This revision was landed with ongoing or failed builds.Mar 27 2023, 1:15 AM
This revision was automatically updated to reflect the committed changes.