1 ;; This tests that llc accepts all valid LoongArch CPUs.
2 ;; Note the 'generic' names have been tested in cpu-name-generic.ll.
4 ; RUN: llc < %s --mtriple=loongarch64 --mcpu=loongarch64 2>&1 | FileCheck %s
5 ; RUN: llc < %s --mtriple=loongarch64 --mcpu=la464 2>&1 | FileCheck %s
6 ; RUN: llc < %s --mtriple=loongarch64 2>&1 | FileCheck %s
8 ; CHECK-NOT: {{.*}} is not a recognized processor for this target
14 define void @tune_cpu_loongarch64() "tune-cpu"="loongarch64" {
18 define void @tune_cpu_la464() "tune-cpu"="la464" {