summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/local_name_conflict1.ll
blob: 2ef7bdd3eb7bec3f075f6e49f596683d3f50fe9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; ModuleID = 'local_name_conflict.o'
source_filename = "local_name_conflict.c"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: noinline nounwind uwtable
define i32 @a() {
entry:
  %call = call i32 @foo()
  ret i32 %call
}

; Function Attrs: noinline nounwind uwtable
define internal i32 @foo() {
entry:
  ret i32 1
}
OpenPOWER on IntegriCloud