blob: 39c62973def9aa1fd6c4a38988ce1b111a0e1231 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as < %s | llc -enable-unsafe-fp-math -march=x86-64 | \
2; RUN: not egrep {addsd|subsd|xor}
3
4declare double @sin(double %f)
5
6define double @foo(double %e)
7{
8 %f = sub double 0.0, %e
9 %g = call double @sin(double %f)
10 %h = sub double 0.0, %g
11 ret double %h
12}