]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/x86-64-pic-7.ll
Vendor import of llvm trunk r132879:
[FreeBSD/FreeBSD.git] / test / CodeGen / X86 / x86-64-pic-7.ll
1 ; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
2 ; RUN: grep {movq       f@GOTPCREL(%rip),} %t1
3
4 define void ()* @g() nounwind {
5 entry:
6         ret void ()* @f
7 }
8
9 declare void @f()