1 ; RUN: llc -mtriple=armv8-eabi -mattr=+neon %s -o - | FileCheck %s
3 define i32 @test1(i32 %tmp54) {
4 %tmp56 = tail call i32 asm "uxtb16 $0,$1", "=r,r"( i32 %tmp54 ) ; <i32> [#uses=1]
9 tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 )
13 define float @t-constraint-int(i32 %i) {
14 ; CHECK-LABEL: t-constraint-int
15 ; CHECK: vcvt.f32.s32 {{s[0-9]+}}, {{s[0-9]+}}
16 %ret = call float asm "vcvt.f32.s32 $0, $1\0A", "=t,t"(i32 %i)
20 define <2 x i32> @t-constraint-int-vector-64bit(<2 x float> %x) {
22 ; CHECK-LABEL: t-constraint-int-vector-64bit
23 ; CHECK: vcvt.s32.f32 {{d[0-9]+}}, {{d[0-9]+}}
24 %0 = tail call <2 x i32> asm "vcvt.s32.f32 $0, $1", "=t,t"(<2 x float> %x)
28 define <4 x i32> @t-constraint-int-vector-128bit(<4 x float> %x) {
30 ; CHECK-LABEL: t-constraint-int-vector-128bit
31 ; CHECK: vcvt.s32.f32 {{q[0-7]}}, {{q[0-7]}}
32 %0 = tail call <4 x i32> asm "vcvt.s32.f32 $0, $1", "=t,t"(<4 x float> %x)
36 define <2 x float> @t-constraint-float-vector-64bit(<2 x float> %a, <2 x float> %b) {
38 ; CHECK-LABEL: t-constraint-float-vector-64bit
39 ; CHECK: vadd.f32 d{{[0-9]+}}, d{{[0-9]+}}, d{{[0-9]+}}
40 %0 = tail call <2 x float> asm "vadd.f32 $0, $1, $2", "=t,t,t"(<2 x float> %a, <2 x float> %b)
44 define <4 x float> @t-constraint-float-vector-128bit(<4 x float> %a, <4 x float> %b) {
46 ; CHECK-LABEL: t-constraint-float-vector-128bit
47 ; CHECK: vadd.f32 q{{[0-7]}}, q{{[0-7]}}, q{{[0-7]}}
48 %0 = tail call <4 x float> asm "vadd.f32 $0, $1, $2", "=t,t,t"(<4 x float> %a, <4 x float> %b)