From a5c5666d485a48eacc095bd8c05efc8615b0cdce Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Nov 2003 03:51:26 +0000 Subject: [PATCH] Add another case, which occurs in em3d git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/cast-set.ll | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/Transforms/InstCombine/cast-set.ll b/test/Transforms/InstCombine/cast-set.ll index 721faefc105..6ee4cd19e4f 100644 --- a/test/Transforms/InstCombine/cast-set.ll +++ b/test/Transforms/InstCombine/cast-set.ll @@ -41,4 +41,9 @@ short %test5(short %A) { %D = cast uint %C to short ret short %D } - + +bool %test6(bool %A) { + %B = cast bool %A to int + %C = setne int %B, 0 + ret bool %C +}