[X86] Update test/CodeGen/X86/avg.ll with the help of update_llc_test_checks.py....
[oota-llvm.git] / test / CodeGen / X86 / legalize-libcalls.ll
1 ; RUN: llc -march=x86 < %s
2 ; RUN: llc -march=x86-64 < %s
3
4 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128"
5
6 define float @MakeSphere(float %theta.079) nounwind {
7 entry:
8   %add36 = fadd float %theta.079, undef
9   %call = call float @cosf(float %theta.079) nounwind readnone
10   %call45 = call float @sinf(float %theta.079) nounwind readnone
11   %call37 = call float @sinf(float %add36) nounwind readnone
12   store float %call, float* undef, align 8
13   store float %call37, float* undef, align 8
14   store float %call45, float* undef, align 8
15   ret float %add36
16 }
17
18 define hidden fastcc void @unroll_loop(i64 %storemerge32129) nounwind {
19 entry:
20   call fastcc void @copy_rtx() nounwind
21   call fastcc void @copy_rtx() nounwind
22   %tmp225 = alloca i8, i64 %storemerge32129, align 8 ; [#uses=0 type=i8*]
23   %cmp651201 = icmp slt i64 %storemerge32129, 0   ; [#uses=1 type=i1]
24   br i1 %cmp651201, label %for.body653.lr.ph, label %if.end638.for.end659_crit_edge
25
26 for.body653.lr.ph:                                ; preds = %entry
27   unreachable
28
29 if.end638.for.end659_crit_edge:                   ; preds = %entry
30   unreachable
31 }
32
33 declare float @cosf(float) nounwind readnone
34 declare float @sinf(float) nounwind readnone
35 declare hidden fastcc void @copy_rtx() nounwind