Move these tests to use FastDSE instead of old DSE.
[oota-llvm.git] / test / Transforms / DeadStoreElimination / free.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         free int* %P
7         ret void
8 }