llvm/test/CodeGen/ARM/thumb-stub.ll
Rafael Espindola 2f6da59b68 Avoid a load for local functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271437 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-01 21:57:11 +00:00

11 lines
174 B
LLVM

; RUN: llc -relocation-model=pic -mtriple=thumb-apple-darwin < %s | FileCheck %s
declare hidden void @f()
; CHECK: bl _f
define void @g() {
call void @f()
ret void
}