Teach TailRecursionElimination to consider 'nocapture' when deciding whether
[oota-llvm.git] / test / Transforms / TailCallElim / ackermann.ll
index f65c66669e564e5c24c9e12691f039f5faffad3f..5b5dbcc225c1e037b6a5a3f81f0fc9c09eb81c17 100644 (file)
@@ -1,6 +1,5 @@
 ; This function contains two tail calls, which should be eliminated
-; RUN: llvm-as < %s | \
-; RUN:   opt -tailcallelim -stats -disable-output |& grep {2 tailcallelim}
+; RUN: opt < %s -tailcallelim -stats -disable-output 2>&1 | grep "2 tailcallelim"
 
 define i32 @Ack(i32 %M.1, i32 %N.1) {
 entry: