summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/macho-frame-offset.ll
blob: f3dacf66b6c39279cc35e2d5648fc5943709a0c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc -mtriple thumbv7m-apple-macho -disable-fp-elim -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()
OpenPOWER on IntegriCloud