blob: d3b567c610763eb607e542a84a0539e8362a14e4 [file] [log] [blame]
Dan Gohman0cb2f672009-09-11 18:36:27 +00001; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
Rafael Espindolae0ac18d2008-06-09 09:52:31 +00002; RUN: grep {leaq f(%rip),} %t1
3; RUN: not grep GOTPCREL %t1
4
5define void ()* @g() {
6entry:
7 ret void ()* @f
8}
9
10declare hidden void @f()