1 ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s
2 ; arm64 has these two tests in vabs.ll
4 define float @test_vabds_f32(float %a, float %b) {
5 ; CHECK-LABEL: test_vabds_f32
6 ; CHECK: fabd {{s[0-9]+}}, {{s[0-9]+}}, {{s[0-9]+}}
8 %0 = call float @llvm.aarch64.neon.vabd.f32(float %a, float %a)
12 define double @test_vabdd_f64(double %a, double %b) {
13 ; CHECK-LABEL: test_vabdd_f64
14 ; CHECK: fabd {{d[0-9]+}}, {{d[0-9]+}}, {{d[0-9]+}}
16 %0 = call double @llvm.aarch64.neon.vabd.f64(double %a, double %b)
20 declare double @llvm.aarch64.neon.vabd.f64(double, double)
21 declare float @llvm.aarch64.neon.vabd.f32(float, float)