1 ; RUN: llc -mtriple=thumbv7-apple-ios -filetype=obj %s -o %t
2 ; RUN: llvm-objdump --macho -d %t | FileCheck %s
4 ; This function just messes up the offsets enough to make the libcall in
5 ; test_local_call unencodable with a blx.
10 define i64 @__udivdi3(i64 %a, i64 %b) {
14 define i64 @test_local_call(i64 %a, i64 %b) {
15 ; CHECK-LABEL: test_local_call:
16 ; CHECK: bl ___udivdi3
18 %res = udiv i64 %a, %b