You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
475 B
16 lines
475 B
4 months ago
|
; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=static -o - | FileCheck %s
|
||
|
; RUN: llc -mtriple=thumbv6m-apple-macho %s -relocation-model=pic -o - | FileCheck %s
|
||
|
|
||
|
@var = global i8 zeroinitializer
|
||
|
|
||
|
declare void @callee(i8*)
|
||
|
|
||
|
define void @foo() minsize {
|
||
|
; CHECK-LABEL: foo:
|
||
|
; CHECK: ldr {{r[0-7]}}, LCPI0_0
|
||
|
call void @callee(i8* @var)
|
||
|
call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3},~{r4},~{r5},~{r6},~{r7}"()
|
||
|
call void @callee(i8* @var)
|
||
|
ret void
|
||
|
}
|