// CHECK-LABEL: define i16 @test_vmaxv_u16(<4 x i16> %a) #0 { // CHECK: [[VMAXV_I:%.*]] = call i32 @llvm.aarch64.neon.umaxv.i32.v4i16(<4 x i16> %a) #2 // CHECK: [[TMP2:%.*]] = trunc i32 [[VMAXV_I]] to i16 // CHECK: ret i16 [[TMP2]] uint16_t test_vmaxv_u16(uint16x4_t a) { return vmaxv_u16(a); }
uint16_t test_vmaxv_u16(uint16x4_t a) { // CHECK-LABEL: test_vmaxv_u16 return vmaxv_u16(a); // CHECK: umaxv {{h[0-9]+}}, {{v[0-9]+}}.4h }