From: Chris Lattner Date: Sat, 23 Apr 2005 15:31:03 +0000 (+0000) Subject: add a new testcase X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17ce8d22c32bb1b12c767b83fea011dae2d816d3;p=oota-llvm.git add a new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21469 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll index 0be572577cb..843af1dbcd0 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 +}