llvm-6502/test/Transforms/DeadStoreElimination/free.llx
Chris Lattner 9ec6e46ad8 New testcase for DSE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15198 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-25 07:57:50 +00:00

9 lines
164 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
free int* %P
ret void
}