llvm-project/llvm/test/CodeGen/ARM/macho-frame-offset.ll

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
273 B
LLVM
Raw Normal View History

; RUN: llc -mtriple thumbv7m-apple-macho -frame-pointer=all -o - %s | FileCheck %s
define void @func() {
; CHECK-LABEL: func:
; CHECK: push {r6, r7, lr}
; CHECK: add r7, sp, #4
call void @bar()
call void asm sideeffect "", "~{r11}"()
ret void
}
declare void @bar()