You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
20
external/llvm/test/CodeGen/ARM/local-call.ll
vendored
Normal file
20
external/llvm/test/CodeGen/ARM/local-call.ll
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
; RUN: llc -mtriple=thumbv7-apple-ios -filetype=obj %s -o %t
|
||||
; RUN: llvm-objdump -macho -d %t | FileCheck %s
|
||||
|
||||
; This function just messes up the offsets enough to make the libcall in
|
||||
; test_local_call unencodable with a blx.
|
||||
define void @thing() {
|
||||
ret void
|
||||
}
|
||||
|
||||
define i64 @__udivdi3(i64 %a, i64 %b) {
|
||||
ret i64 %b
|
||||
}
|
||||
|
||||
define i64 @test_local_call(i64 %a, i64 %b) {
|
||||
; CHECK-LABEL: test_local_call:
|
||||
; CHECK: bl ___udivdi3
|
||||
|
||||
%res = udiv i64 %a, %b
|
||||
ret i64 %res
|
||||
}
|
Reference in New Issue
Block a user