From 17ce8d22c32bb1b12c767b83fea011dae2d816d3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Apr 2005 15:31:03 +0000 Subject: add a new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21469 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/select.ll | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Transforms/InstCombine/select.ll') diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll index 0be572577c..843af1dbcd 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 +} -- cgit v1.2.3