1; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 %s -o -                        | FileCheck %s -check-prefix STRICT
2
3; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 -enable-unsafe-fp-math %s -o - | FileCheck %s -check-prefix UNSAFE
4
5define double @t1(double %a, double %b) {
6; STRICT:    vnmul.f64
7;
8; UNSAFE:    vnmul.f64
9entry:
10        %tmp2 = fsub double -0.000000e+00, %a            ; <double> [#uses=1]
11        %tmp4 = fmul double %tmp2, %b            ; <double> [#uses=1]
12        ret double %tmp4
13}
14
15
16