PR11061: Make simplifylibcalls fold strcmp("", x) correctly.
[oota-llvm.git] / test / Transforms / SimplifyLibCalls / 2007-04-06-strchr-miscompile.ll
index b1cf0a5180811bd0fa808ef3741e20eec04be15a..8e9f2062cded42611a48f06bab40df8e8c269f59 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1307
-; RUN: opt %s -simplify-libcalls -instcombine | llvm-dis > %t
+; RUN: opt < %s -simplify-libcalls -instcombine -S > %t
 ; RUN: grep {@str,.*i64 3} %t
 ; RUN: grep {@str1,.*i64 7} %t
 ; RUN: grep {ret i8.*null} %t