[llvm] [AArch64] Add missing test for Qualcomm Oryon-1 processor (PR #135258)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 14:00:36 PDT 2025


https://github.com/yutche-qti created https://github.com/llvm/llvm-project/pull/135258

For completeness add oryon-1 test case to test verifying all valid AArch64 CPUs are accepted by llc.

@efriedma-quic


>From c98214f442e290e0699b880f8f06bea069a7cdf3 Mon Sep 17 00:00:00 2001
From: Joy Chen <yutche at qti.qualcomm.com>
Date: Thu, 10 Apr 2025 20:57:38 +0000
Subject: [PATCH] [AArch64] Add missing test for Qualcomm Oryon-1 processor

---
 llvm/test/CodeGen/AArch64/cpus.ll | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/test/CodeGen/AArch64/cpus.ll b/llvm/test/CodeGen/AArch64/cpus.ll
index a0ee54ce71a1e..fcb727150f68a 100644
--- a/llvm/test/CodeGen/AArch64/cpus.ll
+++ b/llvm/test/CodeGen/AArch64/cpus.ll
@@ -42,6 +42,7 @@
 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=ampere1 2>&1 | FileCheck %s
 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=ampere1a 2>&1 | FileCheck %s
 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=ampere1b 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=oryon-1 2>&1 | FileCheck %s
 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
 
 ; CHECK-NOT: {{.*}}  is not a recognized processor for this target



More information about the llvm-commits mailing list