Update to new predicate simplifier VRP design. Fixes PR966 and PR967.
[oota-llvm.git] / test / Transforms / DeadStoreElimination / free.llx
1 ; RUN: llvm-as < %s | opt -dse | 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 }