view test/CodeGen/Thumb2/emit-unwinding.ll @ 146:3fc4d5c3e21e

set tail call flag for code segment in CGCAll
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:23:36 +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()