projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e9a1e925c95ce7788a3c164975746e8e3903ac15
[oota-llvm.git]
/
test
/
Transforms
/
DeadStoreElimination
/
simple.llx
1
; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | not grep DEAD
2
3
void %test(int* %Q, int* %P) {
4
%DEAD = load int* %Q
5
store int %DEAD, int* %P
6
store int 0, int* %P
7
ret void
8
}