diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-08 05:03:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-08 05:03:25 +0000 |
commit | 8797f5975878b7daab4ef15787dc649f6088c073 (patch) | |
tree | 20cffd6258a8d0ffd340be093543610dba4ff378 /test/Transforms/InstCombine | |
parent | 1f7e160f77c9c0f042c3098b16ad659f3d7e74b4 (diff) | |
download | llvm-8797f5975878b7daab4ef15787dc649f6088c073.tar.gz llvm-8797f5975878b7daab4ef15787dc649f6088c073.tar.bz2 llvm-8797f5975878b7daab4ef15787dc649f6088c073.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 1b2dafb218..e11be02997 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -178,3 +178,10 @@ bool %test26(int %A) { ret bool %D } +ubyte %test27(ubyte %A) { + %B = and ubyte %A, 4 + %C = sub ubyte %B, 16 + %D = and ubyte %C, 240 ;; 0xF0 + %E = add ubyte %D, 16 + ret ubyte %E +} |