llvm.org GIT mirror llvm / testing test / CodeGen / ARM / macho-frame-offset.ll
testing

Tree @testing (Download .tar.gz)

macho-frame-offset.ll @testingraw · history · blame

; 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()