source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/cpus.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 833 bytes
Line 
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-a35 2>&1 | FileCheck %s
6; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a53 2>&1 | FileCheck %s
7; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a57 2>&1 | FileCheck %s
8; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=cortex-a72 2>&1 | FileCheck %s
9; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=exynos-m1 2>&1 | FileCheck %s
10; RUN: llc < %s -mtriple=arm64-unknown-unknown -mcpu=invalidcpu 2>&1 | FileCheck %s --check-prefix=INVALID
11
12; CHECK-NOT: {{.*}}  is not a recognized processor for this target
13; INVALID: {{.*}}  is not a recognized processor for this target
14
15define i32 @f(i64 %z) {
16        ret i32 0
17}
Note: See TracBrowser for help on using the repository browser.