22 lines · plain
1; RUN: llc < %s -mtriple=i686-- | FileCheck %s2 3define void @ccosl(ptr noalias sret({ x86_fp80, x86_fp80 }) %agg.result, { x86_fp80, x86_fp80 } %z) nounwind {4entry:5 %z8 = extractvalue { x86_fp80, x86_fp80 } %z, 06 %z9 = extractvalue { x86_fp80, x86_fp80 } %z, 17 %0 = fsub x86_fp80 0xK80000000000000000000, %z98 %insert = insertvalue { x86_fp80, x86_fp80 } undef, x86_fp80 %0, 09 %insert7 = insertvalue { x86_fp80, x86_fp80 } %insert, x86_fp80 %z8, 110 call void @ccoshl(ptr noalias sret({ x86_fp80, x86_fp80 }) %agg.result, { x86_fp80, x86_fp80 } %insert7) nounwind11 ret void12}13 14; CHECK-LABEL: ccosl:15; CHECK: movl {{[0-9]+}}(%esp), %[[sret_reg:[^ ]+]]16; CHECK: movl %[[sret_reg]], (%esp)17; CHECK: calll {{.*ccoshl.*}}18; CHECK: movl %[[sret_reg]], %eax19; CHECK: retl20 21declare void @ccoshl(ptr noalias sret({ x86_fp80, x86_fp80 }), { x86_fp80, x86_fp80 }) nounwind22