projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase, distilled from 176.gcc codegen failure
[oota-llvm.git]
/
test
/
ExecutionEngine
/
2003-01-15-AlignmentTest.ll
1
2
int %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
9
int %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
}