int8_t test_vaddv_s8(int8x8_t a1) { // CHECK: test_vaddv_s8 return vaddv_s8(a1); // CHECK: llvm.aarch64.neon.saddv.i32.v8i8 // don't check for return here (there's a trunc?) }
// CHECK-LABEL: define i8 @test_vaddv_s8(<8 x i8> %a) #0 { // CHECK: [[VADDV_I:%.*]] = call i32 @llvm.aarch64.neon.saddv.i32.v8i8(<8 x i8> %a) #2 // CHECK: [[TMP0:%.*]] = trunc i32 [[VADDV_I]] to i8 // CHECK: ret i8 [[TMP0]] int8_t test_vaddv_s8(int8x8_t a) { return vaddv_s8(a); }
int8_t test_vaddv_s8(int8x8_t a) { // CHECK-LABEL: test_vaddv_s8 return vaddv_s8(a); // CHECK: addv {{b[0-9]+}}, {{v[0-9]+}}.8b }