blob: f80ea3e349532369608c2b80e719e1bac6c39ffb [file] [log] [blame]
Eli Friedmane6385e62012-11-15 22:44:27 +00001; RUN: llc < %s -march=arm -mattr=+neon | FileCheck %s
2
3; PR12540: ARM backend lowering of FP_ROUND v2f64 to v2f32.
4define <2 x float> @vtrunc(<2 x double> %a) {
5; CHECK: vcvt.f32.f64 [[S0:s[0-9]+]], [[D0:d[0-9]+]]
6; CHECK: vcvt.f32.f64 [[S1:s[0-9]+]], [[D1:d[0-9]+]]
7 %vt = fptrunc <2 x double> %a to <2 x float>
8 ret <2 x float> %vt
9}