void test_vsetQ_lanes64 (void) { int64x2_t out_int64x2_t; int64_t arg0_int64_t; int64x2_t arg1_int64x2_t; out_int64x2_t = vsetq_lane_s64 (arg0_int64_t, arg1_int64x2_t, 0); }
int64x2_t test_vsetq_lane_s64(int64_t v1, int64x2_t v2) { // CHECK: test_vsetq_lane_s64 return vsetq_lane_s64(v1, v2, 0); // CHECK: ins {{v[0-9]+}}.d[0], {{x[0-9]+}} }
int64x2_t test_vsetq_lane_s64(int64_t a, int64x2_t b) { // CHECK-LABEL: test_vsetq_lane_s64: // CHECK-NEXT: ins.d v0[1], x0 // CHECK-NEXT: ret return vsetq_lane_s64(a, b, 1); }
// CHECK-LABEL: define <2 x i64> @test_vsetq_lane_s64(i64 %a, <2 x i64> %b) #0 { // CHECK: [[TMP0:%.*]] = bitcast <2 x i64> %b to <16 x i8> // CHECK: [[TMP1:%.*]] = bitcast <16 x i8> [[TMP0]] to <2 x i64> // CHECK: [[VSET_LANE:%.*]] = insertelement <2 x i64> [[TMP1]], i64 %a, i32 1 // CHECK: ret <2 x i64> [[VSET_LANE]] int64x2_t test_vsetq_lane_s64(int64_t a, int64x2_t b) { return vsetq_lane_s64(a, b, 1); }