X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FInstCombine%2F2004-08-10-BoolSetCC.ll;h=4233797b6d7286e19f0252efd14596d6b247064b;hb=a0c9939873c404f272b3e0abb102c335146764fe;hp=88c4cc43153f6130c200d4fb2ee58f40e91c792f;hpb=f6a3f0005555ea9eac2b3ec3d3d901940b26cba5;p=oota-llvm.git diff --git a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll index 88c4cc43153..4233797b6d7 100644 --- a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll +++ b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll @@ -1,6 +1,8 @@ -; RUN: llvm-upgrade < %s | llvm-as | 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 ; [#uses=1] + ret i1 %Y }