[llvm] [AArch64] Add missing test for Qualcomm Oryon processor (PR #126150)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 15:27:38 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-aarch64

Author: Joy (joychen17)

<details>
<summary>Changes</summary>

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

@<!-- -->efriedma-quic 

---
Full diff: https://github.com/llvm/llvm-project/pull/126150.diff


1 Files Affected:

- (modified) llvm/test/CodeGen/AArch64/cpus.ll (+1) 


``````````diff
diff --git a/llvm/test/CodeGen/AArch64/cpus.ll b/llvm/test/CodeGen/AArch64/cpus.ll
index e9722f348f4113..b8bab9a8bd5cf4 100644
--- a/llvm/test/CodeGen/AArch64/cpus.ll
+++ b/llvm/test/CodeGen/AArch64/cpus.ll
@@ -40,6 +40,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

``````````

</details>


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


More information about the llvm-commits mailing list