remove some unneeded eh info.
[oota-llvm.git] / test / CodeGen / X86 / x86-64-pic-9.ll
1 ; RUN: llvm-as < %s | \
2 ; RUN:   llc -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1 -f
3 ; RUN: grep {leaq       f(%rip),} %t1
4 ; RUN: not grep GOTPCREL %t1
5
6 define void ()* @g() nounwind {
7 entry:
8         ret void ()* @f
9 }
10
11 define internal void @f() nounwind {
12 entry:
13         ret void
14 }