mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
83aa2384f4
This is better for a few reasons: + It matches the other tooling for iOS. + It matches EABI in more cases (i.e. Thumb-mode, and in practice we don't use ARM mode). + It leads to infinitesimally smaller code (0.2%, yay!). rdar://25369506 llvm-svn: 266003
12 lines
235 B
LLVM
12 lines
235 B
LLVM
; 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()
|