Add encoding for VSTR.
[oota-llvm.git] / test / Transforms / SCCP / 2006-12-19-UndefBug.ll
index 7ab14366eb51708b7c268dc480fff6ae48dc0c7c..ec69ce05fe940367cd06a2bec2398183105f3d77 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep 'ret bool false'
+; RUN: opt < %s -sccp -S | \
+; RUN:   grep {ret i1 false}
 
-bool %foo() {
-       %X = and bool false, undef
-       ret bool %X
+define i1 @foo() {
+       %X = and i1 false, undef                ; <i1> [#uses=1]
+       ret i1 %X
 }
+