1*e8a549cdSBob Wilson; RUN: llc < %s -mtriple=thumbv7-apple-darwin10 -mcpu=swift | FileCheck %s 2*e8a549cdSBob Wilson 3*e8a549cdSBob Wilson; CHECK: test_v2f32 4*e8a549cdSBob Wilson; CHECK: vfma.f32 {{d[0-9]+}}, {{d[0-9]+}}, {{d[0-9]+}} 5*e8a549cdSBob Wilson 6*e8a549cdSBob Wilsondefine <2 x float> @test_v2f32(<2 x float> %a, <2 x float> %b, <2 x float> %c) nounwind readnone ssp { 7*e8a549cdSBob Wilsonentry: 8*e8a549cdSBob Wilson %call = tail call <2 x float> @llvm.fma.v2f32(<2 x float> %a, <2 x float> %b, <2 x float> %c) nounwind readnone 9*e8a549cdSBob Wilson ret <2 x float> %call 10*e8a549cdSBob Wilson} 11*e8a549cdSBob Wilson 12*e8a549cdSBob Wilson; CHECK: test_v4f32 13*e8a549cdSBob Wilson; CHECK: vfma.f32 {{q[0-9]+}}, {{q[0-9]+}}, {{q[0-9]+}} 14*e8a549cdSBob Wilson 15*e8a549cdSBob Wilsondefine <4 x float> @test_v4f32(<4 x float> %a, <4 x float> %b, <4 x float> %c) nounwind readnone ssp { 16*e8a549cdSBob Wilsonentry: 17*e8a549cdSBob Wilson %call = tail call <4 x float> @llvm.fma.v4f32(<4 x float> %a, <4 x float> %b, <4 x float> %c) nounwind readnone 18*e8a549cdSBob Wilson ret <4 x float> %call 19*e8a549cdSBob Wilson} 20*e8a549cdSBob Wilson 21*e8a549cdSBob Wilsondeclare <2 x float> @llvm.fma.v2f32(<2 x float>, <2 x float>, <2 x float>) nounwind readnone 22*e8a549cdSBob Wilsondeclare <4 x float> @llvm.fma.v4f32(<4 x float>, <4 x float>, <4 x float>) nounwind readnone 23