projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Forgot to update these files for the FastDSE changes.
[oota-llvm.git]
/
test
/
Transforms
/
DeadStoreElimination
/
alloca.llx
1
; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | not grep DEAD
2
3
void %test(int* %Q) {
4
%P = alloca int
5
%DEAD = load int* %Q
6
store int %DEAD, int* %P ;; Alloca goes out of scope, dead store.
7
ret void
8
}