diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-23 15:31:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-23 15:31:03 +0000 |
commit | 17ce8d22c32bb1b12c767b83fea011dae2d816d3 (patch) | |
tree | ab7bf74ca5c3b16e91e31da623c5303be43b2fec /test/Transforms | |
parent | 3952bc6f39472cf9007ce2dfd5ff1ff5fdcd8bd2 (diff) | |
download | external_llvm-17ce8d22c32bb1b12c767b83fea011dae2d816d3.zip external_llvm-17ce8d22c32bb1b12c767b83fea011dae2d816d3.tar.gz external_llvm-17ce8d22c32bb1b12c767b83fea011dae2d816d3.tar.bz2 |
add a new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/InstCombine/select.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll index 0be5725..843af1d 100644 --- a/test/Transforms/InstCombine/select.ll +++ b/test/Transforms/InstCombine/select.ll @@ -142,3 +142,9 @@ int %test16(bool %C, int* %P) { %V = load int* %P2 ret int %V } + +bool %test17(int* %X, bool %C) { + %R = select bool %C, int* %X, int* null + %RV = seteq int* %R, null + ret bool %RV +} |