[llvm] [llvm-exegesis] Add -mtriple to AArch64 test (PR #177485)

Usman Nadeem via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 14:47:49 PST 2026


https://github.com/UsmanNadeem created https://github.com/llvm/llvm-project/pull/177485

Similar to https://github.com/llvm/llvm-project/pull/148968

>From 671188cbdfa27ed0f4a6a727633317192354d9e2 Mon Sep 17 00:00:00 2001
From: Usman Nadeem <mnadeem at qti.qualcomm.com>
Date: Thu, 22 Jan 2026 14:43:07 -0800
Subject: [PATCH] [llvm-exegesis] Add -mtriple to AArch64 test

Change-Id: I91ae926f513c254dbf38bed1a5cd2d3ddbe74c64
---
 llvm/test/tools/llvm-exegesis/AArch64/debug-gen-asm.s | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/test/tools/llvm-exegesis/AArch64/debug-gen-asm.s b/llvm/test/tools/llvm-exegesis/AArch64/debug-gen-asm.s
index 7cd088fa7f20e..4690c76eaf98d 100644
--- a/llvm/test/tools/llvm-exegesis/AArch64/debug-gen-asm.s
+++ b/llvm/test/tools/llvm-exegesis/AArch64/debug-gen-asm.s
@@ -1,6 +1,6 @@
 REQUIRES: aarch64-registered-target, asserts
 
-RUN: llvm-exegesis -mcpu=neoverse-v2 --use-dummy-perf-counters --min-instructions=100 --mode=latency --debug-only=preview-gen-assembly --opcode-name=ADDVv4i16v 2>&1 | FileCheck %s -check-prefix=PREVIEW
+RUN: llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 --use-dummy-perf-counters --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: ```
@@ -11,7 +11,7 @@ PREVIEW-NEXT: {{.*}}   addv    h{{[0-9]+}}, v{{[0-9]+}}.4h
 PREVIEW:      {{.*}}   ret
 PREVIEW-NEXT:```
 
-RUN: llvm-exegesis -mcpu=neoverse-v2 --use-dummy-perf-counters --min-instructions=100 --mode=latency --debug-only=print-gen-assembly  --opcode-name=ADDVv4i16v 2>&1 | FileCheck %s -check-prefix=PRINT
+RUN: llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 --use-dummy-perf-counters --min-instructions=100 --mode=latency --debug-only=print-gen-assembly  --opcode-name=ADDVv4i16v 2>&1 | FileCheck %s -check-prefix=PRINT
 PRINT: Generated assembly snippet:
 PRINT-NEXT: ```
 PRINT:      {{[04]}}: {{.*}}      movi    d{{[0-9]+}}, #0000000000000000



More information about the llvm-commits mailing list