1; RUN: llc < %s -enable-unsafe-fp-math -march=x86-64 | FileCheck %s
2; CHECK-NOT:     {{addsd|subsd|xor}}
3
4declare double @sin(double %f)
5
6define double @foo(double %e)
7{
8  %f = fsub double 0.0, %e
9  %g = call double @sin(double %f) readonly
10  %h = fsub double 0.0, %g
11  ret double %h
12}
13