aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/emit-unwinding.ll
blob: b77bb9e6b13cf92769a147267e536de7062991a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -mtriple thumbv7em-apple-unknown-eabi-macho %s -o - -O0 | FileCheck %s

; CHECK: add r7, sp, #{{[1-9]+}}

define void @foo1() {
  call void asm sideeffect "", "~{r4}"()
  call void @foo2()
  ret void
}

declare void @foo2()