Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / DeadStoreElimination / simple.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | 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         store int 0, int* %P
7         ret void
8 }