2014-02-13 17:46:11 +08:00
|
|
|
; This tests that llc accepts all valid AArch64 CPUs
|
|
|
|
|
|
|
|
|
2014-04-22 18:10:26 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=generic 2>&1 | FileCheck %s
|
2015-12-02 19:53:44 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a35 2>&1 | FileCheck %s
|
2014-04-22 18:10:26 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a53 2>&1 | FileCheck %s
|
2017-08-21 16:43:06 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a55 2>&1 | FileCheck %s
|
2014-04-22 18:10:26 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a57 2>&1 | FileCheck %s
|
2015-02-04 21:31:29 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a72 2>&1 | FileCheck %s
|
2016-06-02 18:48:52 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a73 2>&1 | FileCheck %s
|
2017-08-21 16:43:06 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a75 2>&1 | FileCheck %s
|
2016-01-05 20:51:59 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=exynos-m1 2>&1 | FileCheck %s
|
2016-08-02 02:39:45 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=exynos-m2 2>&1 | FileCheck %s
|
2016-12-14 07:31:41 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=exynos-m3 2>&1 | FileCheck %s
|
2016-11-16 05:34:12 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=falkor 2>&1 | FileCheck %s
|
2017-09-25 22:05:00 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=saphira 2>&1 | FileCheck %s
|
2016-02-12 23:51:51 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=kryo 2>&1 | FileCheck %s
|
2017-03-08 03:42:40 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=thunderx2t99 2>&1 | FileCheck %s
|
2014-04-22 18:10:26 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
|
|
|
|
|
2014-02-13 17:46:11 +08: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
|
|
|
|
}
|