64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
13 lines
271 B
LLVM
13 lines
271 B
LLVM
; 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()
|