• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Check that user-defined runtime library function __addsf3vfp is not removed
2;
3; RUN: llvm-as <%s >%t1
4; RUN: llvm-lto -o %t2 %t1 -mcpu arm1176jz-s
5; RUN: llvm-nm %t2 | FileCheck %s
6
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: ___addsf3vfp
11
12define float @__addsf3vfp(float %a, float %b) #0 {
13entry:
14  %add = fadd float %a, %b
15  ret float %add
16}
17
18attributes #0 = { "target-cpu"="arm1176jzf-s"}
19