teak-llvm/llvm/test/CodeGen/ARM/thumb-stub.ll
Rafael Espindola 41410cc812 Avoid a load for local functions.
llvm-svn: 271437
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
}