2013-06-26 16:58:26 +00:00
|
|
|
; RUN: llc < %s -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=V7
|
|
|
|
; RUN: llc < %s -mtriple=armv8-linux-gnueabi | FileCheck %s --check-prefix=V8
|
|
|
|
; RUN: llc < %s -mtriple=thumbv8-linux-gnueabi | FileCheck %s --check-prefix=Vt8
|
2013-09-13 13:46:57 +00:00
|
|
|
; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=+fp-armv8 | FileCheck %s --check-prefix=V8-FPARMv8
|
2013-06-27 11:49:26 +00:00
|
|
|
; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=+neon | FileCheck %s --check-prefix=V8-NEON
|
2013-09-13 13:46:57 +00:00
|
|
|
; RUN: llc < %s -mtriple=armv8-linux-gnueabi -mattr=+fp-armv8 -mattr=+neon | FileCheck %s --check-prefix=V8-FPARMv8-NEON
|
2010-09-30 02:45:56 +00:00
|
|
|
; This tests that MC/asm header conversion is smooth
|
|
|
|
;
|
2013-06-26 16:58:26 +00:00
|
|
|
; V7: .syntax unified
|
|
|
|
; V7: .eabi_attribute 6, 10
|
|
|
|
; V7: .eabi_attribute 20, 1
|
|
|
|
; V7: .eabi_attribute 21, 1
|
|
|
|
; V7: .eabi_attribute 23, 3
|
|
|
|
; V7: .eabi_attribute 24, 1
|
|
|
|
; V7: .eabi_attribute 25, 1
|
|
|
|
|
|
|
|
; V8: .syntax unified
|
|
|
|
; V8: .eabi_attribute 6, 14
|
|
|
|
|
|
|
|
; Vt8: .syntax unified
|
|
|
|
; Vt8: .eabi_attribute 6, 14
|
2010-09-30 02:45:56 +00:00
|
|
|
|
2013-09-13 13:46:57 +00:00
|
|
|
; V8-FPARMv8: .syntax unified
|
|
|
|
; V8-FPARMv8: .eabi_attribute 6, 14
|
|
|
|
; V8-FPARMv8: .eabi_attribute 10, 7
|
|
|
|
; V8-FPARMv8: .fpu fp-armv8
|
2013-06-27 11:49:26 +00:00
|
|
|
|
|
|
|
; V8-NEON: .syntax unified
|
|
|
|
; V8-NEON: .eabi_attribute 6, 14
|
|
|
|
; V8-NEON: .eabi_attribute 12, 3
|
|
|
|
|
2013-09-13 13:46:57 +00:00
|
|
|
; V8-FPARMv8-NEON: .syntax unified
|
|
|
|
; V8-FPARMv8-NEON: .eabi_attribute 6, 14
|
|
|
|
; V8-FPARMv8-NEON: .fpu neon-fp-armv8
|
|
|
|
; V8-FPARMv8-NEON: .eabi_attribute 10, 7
|
2013-09-13 11:51:52 +00:00
|
|
|
|
2010-09-30 02:45:56 +00:00
|
|
|
define i32 @f(i64 %z) {
|
|
|
|
ret i32 0
|
|
|
|
}
|