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