1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CodeGen/ARM/fnmul.ll
Chris Lattner c777983d43 match a reassociated form of fnmul
llvm-svn: 36659
2007-05-03 00:31:40 +00:00

12 lines
399 B
LLVM

; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fnmuld
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep fmul
define double @t1(double %a, double %b) {
entry:
%tmp2 = sub double -0.000000e+00, %a ; <double> [#uses=1]
%tmp4 = mul double %tmp2, %b ; <double> [#uses=1]
ret double %tmp4
}