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