llvm/test/Object/ar-error.test: Don't check the message "No such file or directory".
[oota-llvm.git] / test / CodeGen / AArch64 / neon-scalar-fabd.ll
1 ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s
2 ; arm64 has these two tests in vabs.ll
3
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]+}}
7 entry:
8   %0 = call float @llvm.aarch64.neon.vabd.f32(float %a, float %a)
9   ret float %0
10 }
11
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]+}}
15 entry:
16   %0 = call double @llvm.aarch64.neon.vabd.f64(double %a, double %b)
17   ret double %0
18 }
19
20 declare double @llvm.aarch64.neon.vabd.f64(double, double)
21 declare float @llvm.aarch64.neon.vabd.f32(float, float)