[llvm] [LLVM][MC] Add tracing support to llvm-mc to profile decoding (PR #151149)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 20:02:15 PDT 2025
================
@@ -0,0 +1,12 @@
+# REQUIRES: aarch64-registered-target
+# RUN: rm -rf %t.json
+# RUN: llvm-mc -arch aarch64 -disassemble -o /dev/null %s -num-benchmark-runs=1000 -time-trace -time-trace-file=%t.json
----------------
MaskRay wrote:
-triple=aarch64 instead of -arch
-arch is error-prone in tests as it uses the host OS.
https://github.com/llvm/llvm-project/pull/151149
More information about the llvm-commits
mailing list