Home | History | Annotate | Download | only in AArch64
      1 ; This tests that llc accepts all valid AArch64 CPUs
      2 
      3 
      4 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s
      5 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a53 2>&1 | FileCheck %s
      6 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a57 2>&1 | FileCheck %s
      7 ; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
      8 
      9 ; CHECK-NOT: {{.*}}  is not a recognized processor for this target
     10 ; INVALID: {{.*}}  is not a recognized processor for this target
     11 
     12 define i32 @f(i64 %z) {
     13 	ret i32 0
     14 }
     15