From d9fa6a331e9799028282e516567638d837f5249c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 23 Jun 2003 21:49:25 +0000 Subject: [PATCH] Yet another testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6871 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/cast.ll | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index 2ef6240a757..829d127ff0f 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -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 +} +