Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / X86 / log2_not_readnone.ll
1 ; RUN: llc -mtriple=i386-linux-gnueabi %s -o - | FileCheck %s
2
3 ; Log2 and exp2 are string-matched to intrinsics. If they are not declared
4 ; readnone, they can't be changed to intrinsics (because they can change errno).
5
6 declare double @log2(double)
7 declare double @exp2(double)
8
9 define void @f() {
10        ; CHECK: calll log2
11        %1 = call double @log2(double 0.000000e+00)
12        ; CHECK: calll exp2
13        %2 = call double @exp2(double 0.000000e+00)
14        ret void
15 }