Mercurial > hg > Members > tobaru > cbc > CbC_llvm
comparison test/CodeGen/ARM/2012-10-18-PR14099-ByvalFrameAddress.ll @ 95:afa8332a0e37
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children | 803732b1fca8 |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
8 ; CHECK-LABEL: t: | 8 ; CHECK-LABEL: t: |
9 define void @t(i32 %a, %struct.s* byval %s) nounwind { | 9 define void @t(i32 %a, %struct.s* byval %s) nounwind { |
10 entry: | 10 entry: |
11 | 11 |
12 ; Here we need to only check proper start address of restored %s argument. | 12 ; Here we need to only check proper start address of restored %s argument. |
13 ; CHECK: sub sp, sp, #16 | 13 ; CHECK: sub sp, sp, #12 |
14 ; CHECK: push {r11, lr} | 14 ; CHECK: push {r11, lr} |
15 ; CHECK: sub sp, sp, #4 | |
15 ; CHECK: add r0, sp, #12 | 16 ; CHECK: add r0, sp, #12 |
16 ; CHECK: stm r0, {r1, r2, r3} | 17 ; CHECK: stm r0, {r1, r2, r3} |
17 ; CHECK: add r0, sp, #12 | 18 ; CHECK: add r0, sp, #12 |
18 ; CHECK-NEXT: bl f | 19 ; CHECK-NEXT: bl f |
19 call void @f(%struct.s* %s) | 20 call void @f(%struct.s* %s) |