You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
502 B
16 lines
502 B
4 months ago
|
; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 %s -o - | FileCheck %s -check-prefix STRICT
|
||
|
|
||
|
; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 -enable-unsafe-fp-math %s -o - | FileCheck %s -check-prefix UNSAFE
|
||
|
|
||
|
define double @t1(double %a, double %b) {
|
||
|
; STRICT: vnmul.f64
|
||
|
;
|
||
|
; UNSAFE: vnmul.f64
|
||
|
entry:
|
||
|
%tmp2 = fsub double -0.000000e+00, %a ; <double> [#uses=1]
|
||
|
%tmp4 = fmul double %tmp2, %b ; <double> [#uses=1]
|
||
|
ret double %tmp4
|
||
|
}
|
||
|
|
||
|
|