Fix pointer info on PPC byval stores
[oota-llvm.git] / test / Transforms / InstCombine / 2004-08-10-BoolSetCC.ll
index db4735d0b629c51d4dabd8a30658c7676eb67717..4233797b6d7286e19f0252efd14596d6b247064b 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
 }