PR11061: Make simplifylibcalls fold strcmp("", x) correctly.
[oota-llvm.git] / test / Transforms / SimplifyLibCalls / StrCat.ll
index a2e1f3af2f656c1d70efc537216b45c4100091a0..4e3d0ab7f40fa2d6eceda310b0c666e01ba42e8f 100644 (file)
@@ -1,8 +1,8 @@
 ; Test that the StrCatOptimizer works correctly
 ; PR3661
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt < %s -simplify-libcalls -S | \
 ; RUN:   not grep {call.*strcat}
-; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | \
+; RUN: opt < %s -simplify-libcalls -S | \
 ; RUN:   grep {puts.*%arg1}
 
 ; This transformation requires the pointer size, as it assumes that size_t is