mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
e6b89910eb
output As part of the unification of the debug format and the MIR format, always use `printReg` to print all kinds of registers. Updated the tests using '_' instead of '%noreg' until we decide which one we want to be the default one. Differential Revision: https://reviews.llvm.org/D40421 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319445 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
475 B
LLVM
16 lines
475 B
LLVM
; 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
|
|
}
|