brintos

brintos / llvm-project-archived public Read only

0
0
Text · 479 B · aab1d90 Raw
19 lines · plain
1; Check that user-defined runtime library function __addsf3vfp is not removed2;3; RUN: llvm-as <%s >%t14; RUN: llvm-lto -o %t2 %t1 -mcpu arm1176jz-s5; RUN: llvm-nm %t2 | FileCheck %s6 7target datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"8target triple = "thumbv7-apple-ios"9 10; CHECK: ___addsf3vfp11 12define float @__addsf3vfp(float %a, float %b) #0 {13entry:14  %add = fadd float %a, %b15  ret float %add16}17 18attributes #0 = { "target-cpu"="arm1176jzf-s"}19