blob: f347f5d3572442c3d57628381cddc9231b41701b [file] [log] [blame]
Gabor Greif5edf2102008-05-20 22:07:21 +00001; RUN: llvm-as %s -o - | lli -force-interpreter
Duncan Sands1eff7042007-12-10 17:43:13 +00002; PR1836
3
4define i32 @main() {
5entry:
6 %retval = alloca i32 ; <i32*> [#uses=2]
7 %tmp = alloca i32 ; <i32*> [#uses=2]
8 %x = alloca i75, align 16 ; <i75*> [#uses=1]
9 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
10 store i75 999, i75* %x, align 16
11 store i32 0, i32* %tmp, align 4
12 %tmp1 = load i32* %tmp, align 4 ; <i32> [#uses=1]
13 store i32 %tmp1, i32* %retval, align 4
14 br label %return
15
16return: ; preds = %entry
17 %retval2 = load i32* %retval ; <i32> [#uses=1]
18 ret i32 %retval2
19}