projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
These casts should turn into gep instructions
[oota-llvm.git]
/
test
/
Transforms
/
ScalarRepl
/
2006-01-24-IllegalUnionPromoteCrash.ll
1
; RUN: llvm-as < %s | opt -scalarrepl -disable-output
2
3
target endian = big
4
target pointersize = 32
5
6
int %test(long %L) {
7
%X = alloca int
8
%Y = cast int* %X to ulong*
9
store ulong 0, ulong* %Y
10
%Z = load int *%X
11
ret int %Z
12
}