projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
For PR950:
[oota-llvm.git]
/
test
/
Transforms
/
DeadStoreElimination
/
2004-12-28-PartialStore.ll
1
; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | grep 'store i32 1234567'
2
3
; Do not delete stores that are only partially killed.
4
5
int %test() {
6
%V = alloca int
7
store int 1234567, int* %V
8
%V2 = cast int* %V to sbyte*
9
store sbyte 0, sbyte* %V2
10
%X = load int* %V
11
ret int %X
12
}