uint8x1_t test_vdupb_lane_u8 (uint8x16_t a) { uint8x1_t res; force_simd (a); res = vdupb_laneq_u8 (a, 2); force_simd (res); return res; }
// CHECK-LABEL: test_vdupb_laneq_u8 uint8_t test_vdupb_laneq_u8(uint8x16_t a) { return vdupb_laneq_u8(a, 15); // CHECK: umov {{w[0-9]+}}, {{v[0-9]+}}.b[15] }
// CHECK-LABEL: define i8 @test_vdupb_laneq_u8(<16 x i8> %a) #1 { // CHECK: [[VGETQ_LANE:%.*]] = extractelement <16 x i8> %a, i32 15 // CHECK: ret i8 [[VGETQ_LANE]] uint8_t test_vdupb_laneq_u8(uint8x16_t a) { return vdupb_laneq_u8(a, 15); }