Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / X86 / negative-sin.ll
1 ; RUN: llc < %s -enable-unsafe-fp-math -march=x86-64 | FileCheck %s
2 ; CHECK-NOT:     {{addsd|subsd|xor}}
3
4 declare double @sin(double %f)
5
6 define 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 }