[llvm] [llvm-exegesis] Debug generated disassembly (PR #142540)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 16:19:34 PDT 2025


================
@@ -0,0 +1,22 @@
+REQUIRES: aarch64-registered-target
+
+RUN: llvm-exegesis -mcpu=neoverse-v2 --benchmark-phase=measure --min-instructions=100 --mode=latency --debug-only="preview-gen-assembly" --opcode-name=ADDVv4i16v 2>&1 | FileCheck %s -check-prefix=PREVIEW
+
+PREVIEW: Generated assembly snippet:
+PREVIEW-NEXT: ```
+PREVIEW:      {{.*}}   movi    d{{[0-9]+}}, #0000000000000000
----------------
boomanaiden154 wrote:

Agreed. There might be some churn if snippet setup changes, but that shouldn't be a big deal outside of the subprocess execution mode. If it ends up becoming an issue down the line we can revisit.

https://github.com/llvm/llvm-project/pull/142540


More information about the llvm-commits mailing list