36 lines · plain
1; RUN: llc -mtriple=i686-- < %s2; RUN: llc -mtriple=x86_64-- < %s3 4target 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 6define float @MakeSphere(float %theta.079) nounwind {7entry:8 %add36 = fadd float %theta.079, undef9 %call = call float @cosf(float %theta.079) nounwind readnone10 %call45 = call float @sinf(float %theta.079) nounwind readnone11 %call37 = call float @sinf(float %add36) nounwind readnone12 store float %call, ptr undef, align 813 store float %call37, ptr undef, align 814 store float %call45, ptr undef, align 815 ret float %add3616}17 18define hidden fastcc void @unroll_loop(i64 %storemerge32129) nounwind {19entry:20 call fastcc void @copy_rtx() nounwind21 call fastcc void @copy_rtx() nounwind22 %tmp225 = alloca i8, i64 %storemerge32129, align 8 ; [#uses=0 type=ptr]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_edge25 26for.body653.lr.ph: ; preds = %entry27 unreachable28 29if.end638.for.end659_crit_edge: ; preds = %entry30 unreachable31}32 33declare float @cosf(float) nounwind readnone34declare float @sinf(float) nounwind readnone35declare hidden fastcc void @copy_rtx() nounwind36