Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/ARM/2012-10-04-FixedFrame-vs-byval.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 95c75e76d11b |
children | c2174574ed3a |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
10 ; CHECK: str r3, [sp, #12] | 10 ; CHECK: str r3, [sp, #12] |
11 ; CHECK: str r2, [sp, #8] | 11 ; CHECK: str r2, [sp, #8] |
12 ; CHECK: vldr d16, [sp, #8] | 12 ; CHECK: vldr d16, [sp, #8] |
13 define void @test_byval_usage_scheduling(i32 %n1, i32 %n2, %struct_t* byval %val) nounwind { | 13 define void @test_byval_usage_scheduling(i32 %n1, i32 %n2, %struct_t* byval %val) nounwind { |
14 entry: | 14 entry: |
15 %a = getelementptr inbounds %struct_t* %val, i32 0, i32 0 | 15 %a = getelementptr inbounds %struct_t, %struct_t* %val, i32 0, i32 0 |
16 %0 = load double* %a | 16 %0 = load double, double* %a |
17 %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([12 x i8]* @.str, i32 0, i32 0), double %0) | 17 %call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i32 0, i32 0), double %0) |
18 ret void | 18 ret void |
19 } | 19 } |