2019-12-09 23:47:47 +08:00
|
|
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
|
|
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s
|
2008-06-09 17:52:31 +08:00
|
|
|
|
2009-06-27 12:07:31 +08:00
|
|
|
define void ()* @g() nounwind {
|
2019-12-09 23:47:47 +08:00
|
|
|
; CHECK-LABEL: g:
|
|
|
|
; CHECK: # %bb.0: # %entry
|
|
|
|
; CHECK-NEXT: leaq {{.*}}(%rip), %rax
|
|
|
|
; CHECK-NEXT: retq
|
2008-06-09 17:52:31 +08:00
|
|
|
entry:
|
|
|
|
ret void ()* @f
|
|
|
|
}
|
|
|
|
|
2009-06-27 12:07:31 +08:00
|
|
|
define internal void @f() nounwind {
|
2019-12-09 23:47:47 +08:00
|
|
|
; CHECK-LABEL: f:
|
|
|
|
; CHECK: # %bb.0: # %entry
|
|
|
|
; CHECK-NEXT: retq
|
2008-06-09 17:52:31 +08:00
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|