Yet another testcase
authorChris Lattner <sabre@nondot.org>
Mon, 23 Jun 2003 21:49:25 +0000 (21:49 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Jun 2003 21:49:25 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6871 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/cast.ll

index 2ef6240a757c569674f85d9bf3e1c58ec5d611ed..829d127ff0fe841973f8ca37c44d135900116d4d 100644 (file)
@@ -81,3 +81,9 @@ bool %test12(ubyte %A) {
         ret bool %C
 }
 
+bool %test13(ubyte %A, ubyte %b) {
+        %B = add ubyte %A, %b
+        %C = cast ubyte %B to bool    ; === A != 1
+        ret bool %C
+}
+