2014-02-13 09:46:11 +00:00
|
|
|
; This tests that llc accepts all valid AArch64 CPUs
|
|
|
|
|
2014-02-13 11:06:23 +00:00
|
|
|
; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=cortex-a53 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=cortex-a57 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=aarch64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
|
2014-02-13 09:46:11 +00:00
|
|
|
|
2014-04-22 10:10:26 +00:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a53 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a57 2>&1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
|
|
|
|
|
2014-02-13 09:46:11 +00:00
|
|
|
; CHECK-NOT: {{.*}} is not a recognized processor for this target
|
|
|
|
; INVALID: {{.*}} is not a recognized processor for this target
|
|
|
|
|
|
|
|
define i32 @f(i64 %z) {
|
|
|
|
ret i32 0
|
|
|
|
}
|