view test/CodeGen/Thumb2/emit-unwinding.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

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