2014-02-13 10:46:11 +01:00
|
|
|
; This tests that llc accepts all valid AArch64 CPUs
|
|
|
|
|
|
|
|
|
2014-04-22 12:10:26 +02:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s
|
2015-12-02 12:53:44 +01:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a35 2>&1 | FileCheck %s
|
2014-04-22 12:10:26 +02:00
|
|
|
; 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
|
2015-02-04 14:31:29 +01:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a72 2>&1 | FileCheck %s
|
2016-06-02 12:48:52 +02:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a73 2>&1 | FileCheck %s
|
2016-01-05 13:51:59 +01:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=exynos-m1 2>&1 | FileCheck %s
|
2016-08-01 20:39:45 +02:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=exynos-m2 2>&1 | FileCheck %s
|
2016-11-15 22:34:12 +01:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=falkor 2>&1 | FileCheck %s
|
2016-02-12 16:51:51 +01:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=kryo 2>&1 | FileCheck %s
|
2016-06-20 13:13:31 +02:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=vulcan 2>&1 | FileCheck %s
|
2014-04-22 12:10:26 +02:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
|
|
|
|
|
2014-02-13 10:46:11 +01: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
|
|
|
|
}
|