1 ; Check that user-defined runtime library function __addsf3vfp is not removed
3 ; RUN: llvm-as <%s >%t1
4 ; RUN: llvm-lto -o %t2 %t1 -mcpu arm1176jz-s
5 ; RUN: llvm-nm %t2 | FileCheck %s
7 target datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32"
8 target triple = "thumbv7-apple-ios"
12 define float @__addsf3vfp(float %a, float %b) #0 {
14 %add = fadd float %a, %b
18 attributes #0 = { "target-cpu"="arm1176jzf-s"}