Make the llvm-runtest function much more amenable by eliminating all the
[oota-llvm.git] / test / Transforms / TailCallElim / return-undef.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | grep sub &&
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -tailcallelim | llvm-dis | not grep call
3
4 int %test(int %X) {
5         %Y = sub int %X, 1
6         %Z = call int %test(int %Y)
7         ret int undef
8 }