blob: 5304a819f1964c75bf488d5d057ad5b804f3045a [file] [log] [blame]
Chris Lattner12ba6fd2003-05-12 04:06:38 +00001
2int %bar(sbyte* %X) {
3 %P = alloca double ; pointer should be 4 byte aligned!
4 %R = cast double* %P to int
5 %A = and int %R, 3
6 ret int %A
7}
8
9int %main() {
10 %SP = alloca sbyte
11 %X = add uint 0, 0
12 alloca sbyte, uint %X
13
14 call int %bar(sbyte* %SP)
15 ret int %0
16}