ARM: ensure fixed-point conversions have sane types
[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 ; This tests that MC/asm header conversion is smooth
7 ;
8 ; V7:      .syntax unified
9 ; V7: .eabi_attribute 6, 10
10 ; V7: .eabi_attribute 20, 1
11 ; V7: .eabi_attribute 21, 1
12 ; V7: .eabi_attribute 23, 3
13 ; V7: .eabi_attribute 24, 1
14 ; V7: .eabi_attribute 25, 1
15
16 ; V8:      .syntax unified
17 ; V8: .eabi_attribute 6, 14
18
19 ; Vt8:     .syntax unified
20 ; Vt8: .eabi_attribute 6, 14
21
22 ; V8-V8FP:      .syntax unified
23 ; V8-V8FP: .eabi_attribute 6, 14
24 ; V8-V8FP: .eabi_attribute 10, 7
25
26 ; V8-NEON:      .syntax unified
27 ; V8-NEON: .eabi_attribute 6, 14
28 ; V8-NEON: .eabi_attribute 12, 3
29
30 define i32 @f(i64 %z) {
31         ret i32 0
32 }