[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git] / test / CodeGen / ARM / fnmul.ll
blobb021de8b7ad0084350f84a7e50360354f0bac3eb
1 ; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 %s -o -                        | FileCheck %s -check-prefix STRICT
3 ; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 -enable-unsafe-fp-math %s -o - | FileCheck %s -check-prefix UNSAFE
5 define double @t1(double %a, double %b) {
6 ; STRICT:    vnmul.f64
8 ; UNSAFE:    vnmul.f64
9 entry:
10         %tmp2 = fsub double -0.000000e+00, %a            ; <double> [#uses=1]
11         %tmp4 = fmul double %tmp2, %b            ; <double> [#uses=1]
12         ret double %tmp4