comparison test/CodeGen/PowerPC/2010-12-18-PPCStackRefs.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 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
10 ; CHECK: stw r2, -12(r1) 10 ; CHECK: stw r2, -12(r1)
11 %retval = alloca i32 11 %retval = alloca i32
12 %0 = alloca i32 12 %0 = alloca i32
13 %"alloca point" = bitcast i32 0 to i32 13 %"alloca point" = bitcast i32 0 to i32
14 store i32 0, i32* %0, align 4 14 store i32 0, i32* %0, align 4
15 %1 = load i32* %0, align 4 15 %1 = load i32, i32* %0, align 4
16 store i32 %1, i32* %retval, align 4 16 store i32 %1, i32* %retval, align 4
17 br label %return 17 br label %return
18 18
19 return: ; preds = %entry 19 return: ; preds = %entry
20 %retval1 = load i32* %retval 20 %retval1 = load i32, i32* %retval
21 ret i32 %retval1 21 ret i32 %retval1
22 } 22 }