From 743d822ba624bb05818bb3abab9c9790905e073d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 1 May 2005 04:41:57 +0000 Subject: [PATCH] new testcase llvm-svn: 21646 --- test/Regression/Transforms/InstCombine/getelementptr.ll | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/Regression/Transforms/InstCombine/getelementptr.ll b/test/Regression/Transforms/InstCombine/getelementptr.ll index 699efe4d6ff..79b951bf81f 100644 --- a/test/Regression/Transforms/InstCombine/getelementptr.ll +++ b/test/Regression/Transforms/InstCombine/getelementptr.ll @@ -66,3 +66,8 @@ bool %test10({int, int} * %x, {int, int} * %y) { ret bool %tmp.4 } +bool %test11({int,int} *%X) { + %P = getelementptr {int,int}* %X, int 0, uint 0 + %Q = seteq int* %P, null + ret bool %Q +}