Eliminate more redundant llvm-as calls.
[oota-llvm.git] / test / Transforms / InstCombine / 2004-08-10-BoolSetCC.ll
index db4735d0b629c51d4dabd8a30658c7676eb67717..1154bb481d30a268fe0b89a5a27295d2f4a67436 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: llvm-as < %s| opt -instcombine | llvm-dis | grep 'ret bool false'
-bool %test(bool %V) {
-       %Y = setlt bool %V, false
-       ret bool %Y
+; RUN: opt < %s -instcombine -S | \
+; RUN:    grep {ret i1 false}
+
+define i1 @test(i1 %V) {
+        %Y = icmp ult i1 %V, false              ; <i1> [#uses=1]
+        ret i1 %Y
 }