diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-23 21:49:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-23 21:49:25 +0000 |
commit | d9fa6a331e9799028282e516567638d837f5249c (patch) | |
tree | 111d25829e1606b35b6e8b42e3e7f7e54041a9b3 /test/Transforms/InstCombine/cast.ll | |
parent | 8186a94e089c6672842f007db2fff267e83b052d (diff) | |
download | llvm-d9fa6a331e9799028282e516567638d837f5249c.tar.gz llvm-d9fa6a331e9799028282e516567638d837f5249c.tar.bz2 llvm-d9fa6a331e9799028282e516567638d837f5249c.tar.xz |
Yet another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/cast.ll')
-rw-r--r-- | test/Transforms/InstCombine/cast.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index 2ef6240a75..829d127ff0 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 +} + |