// rdar://13527900 void vcopy_reject(float32x4_t vOut0, float32x4_t vAlpha, int t) { vcopyq_laneq_f32(vOut0, 1, vAlpha, t); // expected-error {{argument to '__builtin_neon_vgetq_lane_f32' must be a constant integer}} expected-error {{initializing 'float32_t' (aka 'float') with an expression of incompatible type 'void'}} }
float32x4_t test_vcopyq_laneq_f32(float32x4_t v1, float32x4_t v2) { // CHECK: test_vcopyq_laneq_f32 return vcopyq_laneq_f32(v1, 0, v2, 1); // CHECK: ins {{v[0-9]+}}.s[0], {{v[0-9]+}}.s[1] }
// rdar://13527900 void vcopy_reject(float32x4_t vOut0, float32x4_t vAlpha, int t) { vcopyq_laneq_f32(vOut0, 1, vAlpha, t); // expected-error {{argument to '__builtin_neon_vgetq_lane_f32' must be a constant integer}} }