Add another case, which occurs in em3d
authorChris Lattner <sabre@nondot.org>
Mon, 3 Nov 2003 03:51:26 +0000 (03:51 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Nov 2003 03:51:26 +0000 (03:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/cast-set.ll

index 721faefc105e63013b6fbe2ab7cbab38fd6822d7..6ee4cd19e4fa2e359f96cefbab85ae0b84d92ae2 100644 (file)
@@ -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
+}