1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/DeadStoreElimination/simple.llx
Chris Lattner 00c80f345f Trivial testcase for dse
llvm-svn: 15100
2004-07-22 07:59:20 +00:00

9 lines
172 B
Plaintext

; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
void %test(int* %Q, int* %P) {
%DEAD = load int* %Q
store int %DEAD, int* %P
store int 0, int* %P
ret void
}