From: Chris Lattner Date: Mon, 19 Aug 2002 23:10:52 +0000 (+0000) Subject: New testcase X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0f7c8c29d34063e748ac287a1c923ac1af57ea0c;p=oota-llvm.git New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3395 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CBackend/2002-08-19-HardConstantExpr.ll b/test/CBackend/2002-08-19-HardConstantExpr.ll new file mode 100644 index 00000000000..cd2d1117ed6 --- /dev/null +++ b/test/CBackend/2002-08-19-HardConstantExpr.ll @@ -0,0 +1,4 @@ +%array = constant [2 x int] [ int 12, int 52 ] ; <[2 x int]*> [#uses=1] +%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ; [#uses=1] +%arrayPtr5 = global int* getelementptr (int** %arrayPtr, uint 0, uint 5) ; [#uses=0] + diff --git a/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll b/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll new file mode 100644 index 00000000000..cd2d1117ed6 --- /dev/null +++ b/test/CodeGen/CBackend/2002-08-19-HardConstantExpr.ll @@ -0,0 +1,4 @@ +%array = constant [2 x int] [ int 12, int 52 ] ; <[2 x int]*> [#uses=1] +%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ; [#uses=1] +%arrayPtr5 = global int* getelementptr (int** %arrayPtr, uint 0, uint 5) ; [#uses=0] +