174a641c6e1c5e67e51d43b0725b5e766a3f171f
[oota-llvm.git] / test / CodeGen / ARM / 2010-09-29-mc-asm-header-test.ll
1 ; RUN: llc < %s -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=V7
2 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8
3 ; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi | FileCheck %s --check-prefix=Vt8
4 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=+v8fp | FileCheck %s --check-prefix=V8-V8FP
5 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=+neon | FileCheck %s --check-prefix=V8-NEON
6 ; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=+v8fp -mattr=+neon | FileCheck %s --check-prefix=V8-V8FP-NEON
7 ; This tests that MC/asm header conversion is smooth
8 ;
9 ; V7:      .syntax unified
10 ; V7: .eabi_attribute 6, 10
11 ; V7: .eabi_attribute 20, 1
12 ; V7: .eabi_attribute 21, 1
13 ; V7: .eabi_attribute 23, 3
14 ; V7: .eabi_attribute 24, 1
15 ; V7: .eabi_attribute 25, 1
16
17 ; V8:      .syntax unified
18 ; V8: .eabi_attribute 6, 14
19
20 ; Vt8:     .syntax unified
21 ; Vt8: .eabi_attribute 6, 14
22
23 ; V8-V8FP:      .syntax unified
24 ; V8-V8FP: .eabi_attribute 6, 14
25 ; V8-V8FP: .eabi_attribute 10, 7
26 ; V8-V8FP: .fpu fp-armv8
27
28 ; V8-NEON:      .syntax unified
29 ; V8-NEON: .eabi_attribute 6, 14
30 ; V8-NEON: .eabi_attribute 12, 3
31
32 ; V8-V8FP-NEON:      .syntax unified
33 ; V8-V8FP-NEON: .eabi_attribute 6, 14
34 ; V8-V8FP-NEON: .fpu neon-fp-armv8
35 ; V8-V8FP-NEON: .eabi_attribute 10, 7
36
37 define i32 @f(i64 %z) {
38         ret i32 0
39 }