e19d552987
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
18 lines
263 B
LLVM
18 lines
263 B
LLVM
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic | FileCheck %s
|
|
|
|
|
|
; CHECK-NOT: {{callq f@PLT}}
|
|
; CHECK: {{callq f}}
|
|
; CHECK-NOT: {{callq f@PLT}}
|
|
|
|
define void @g() {
|
|
entry:
|
|
call void @f( )
|
|
ret void
|
|
}
|
|
|
|
define internal void @f() {
|
|
entry:
|
|
ret void
|
|
}
|