Fix comment in llvm.mli.
[oota-llvm.git] / test / Transforms / LICM / call_sink_const_function.ll
1 ; RUN: llvm-as < %s | opt -basicaa -licm | llvm-dis | %prcontext sin 1 | grep Out:
2
3 declare double @sin(double) readnone
4
5 declare void @foo()
6
7 define double @test(double %X) {
8         br label %Loop
9
10 Loop:           ; preds = %Loop, %0
11         call void @foo( )
12         %A = call double @sin( double %X ) readnone             ; <double> [#uses=1]
13         br i1 true, label %Loop, label %Out
14
15 Out:            ; preds = %Loop
16         ret double %A
17 }