mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
match a reassociated form of fnmul
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a7ad3d1ed3
commit
f972db0f4f
11
test/CodeGen/ARM/fnmul.ll
Normal file
11
test/CodeGen/ARM/fnmul.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user