1*f4a2713aSLionel Sambuc; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=corei7 | not grep fstpt 2*f4a2713aSLionel Sambuc; PR3457 3*f4a2713aSLionel Sambuc; rdar://6548010 4*f4a2713aSLionel Sambuc 5*f4a2713aSLionel Sambucdefine void @foo(double* nocapture %P) nounwind { 6*f4a2713aSLionel Sambucentry: 7*f4a2713aSLionel Sambuc %0 = tail call double (...)* @test() nounwind ; <double> [#uses=2] 8*f4a2713aSLionel Sambuc %1 = tail call double (...)* @test() nounwind ; <double> [#uses=2] 9*f4a2713aSLionel Sambuc %2 = fmul double %0, %0 ; <double> [#uses=1] 10*f4a2713aSLionel Sambuc %3 = fmul double %1, %1 ; <double> [#uses=1] 11*f4a2713aSLionel Sambuc %4 = fadd double %2, %3 ; <double> [#uses=1] 12*f4a2713aSLionel Sambuc store double %4, double* %P, align 8 13*f4a2713aSLionel Sambuc ret void 14*f4a2713aSLionel Sambuc} 15*f4a2713aSLionel Sambuc 16*f4a2713aSLionel Sambucdeclare double @test(...) 17