mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 06:38:44 +00:00
47cbd520cf
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266003 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|