]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/ifunc-asm.ll
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / CodeGen / X86 / ifunc-asm.ll
1 ; RUN: llvm-as < %s -o - | llc -filetype=asm | FileCheck %s
2
3 target triple = "x86_64-unknown-linux-gnu"
4
5 define internal i64 @foo_ifunc() {
6 entry:
7   ret i64 0
8 }
9 ; CHECK: .type foo_ifunc,@function
10 ; CHECK-NEXT: foo_ifunc:
11
12 @foo = ifunc i32 (i32), i64 ()* @foo_ifunc
13 ; CHECK: .type foo,@function
14 ; CHECK-NEXT: .type foo,@gnu_indirect_function
15 ; CHECK-NEXT: .set foo, foo_ifunc