summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/ifunc-asm.ll
blob: bef243a25dd0a9a449eb44c9030156cbbac47b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | llvm-dis | FileCheck %s

target triple = "x86_64-unknown-linux-gnu"

@foo = ifunc i32 (i32), i64 ()* @foo_ifunc
; CHECK: @foo = ifunc i32 (i32), i64 ()* @foo_ifunc

define internal i64 @foo_ifunc() {
entry:
  ret i64 0
}
; CHECK: define internal i64 @foo_ifunc()
OpenPOWER on IntegriCloud