vtype set_vector(double val) { vtype ret; ret = vsetq_lane_f64(val, ret, 0); ret = vsetq_lane_f64(val, ret, 1); return ret; }
float64x2_t test_vsetq_lane_f64(float64_t v1, float64x2_t v2) { // CHECK: test_vsetq_lane_f64 return vsetq_lane_f64(v1, v2, 0); // CHECK: ins {{v[0-9]+}}.d[0], {{v[0-9]+}}.d[0] }
float64x2_t test_vsetq_lane_f64(float64_t a1, float64x2_t a2) { // CHECK-LABEL: test_vsetq_lane_f64 return vsetq_lane_f64(a1, a2, 0); // CHECK insertelement <2 x double> %a2, double %a1, i32 0 }