[llvm-branch-commits] [llvm] release/22.x: [llvm-exegesis] Add -mtriple to AArch64 test (#177485) (PR #177494)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jan 22 15:51:36 PST 2026
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/177494
Backport 12b3a9f52e76611b3d3ceb746559d2c384b2565e
Requested by: @UsmanNadeem
>From d52f175712fae03b9d35609c203a52b3adfc3981 Mon Sep 17 00:00:00 2001
From: Usman Nadeem <mnadeem at qti.qualcomm.com>
Date: Thu, 22 Jan 2026 15:40:27 -0800
Subject: [PATCH] [llvm-exegesis] Add -mtriple to AArch64 test (#177485)
Similar to https://github.com/llvm/llvm-project/pull/148968
(cherry picked from commit 12b3a9f52e76611b3d3ceb746559d2c384b2565e)
---
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-branch-commits
mailing list