[llvm] [Exegesis] Add supports to serialize/deserialize object files into benchmarks (PR #121993)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 19:29:35 PST 2025
================
@@ -0,0 +1,33 @@
+# RUN: llvm-exegesis -mtriple=riscv64 -mcpu=sifive-p470 --opcode-name=SH3ADD --benchmark-phase=assemble-measured-code --mode=latency --benchmarks-file=%t.yaml
----------------
boomanaiden154 wrote:
I'm thinking we might want to add a new flag that controls the emission of `object_file`? I would prefer not to have it when messing around with exegesis.
I've been wanting to do the same thing with the `assembled_snippet` output for a while given I don't find it particularly useful and it reduces performance (another round trip through the MCJIT/assembler), but that's a separate thing.
https://github.com/llvm/llvm-project/pull/121993
More information about the llvm-commits
mailing list