Additional testcase
authorChris Lattner <sabre@nondot.org>
Thu, 2 May 2002 20:19:11 +0000 (20:19 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 May 2002 20:19:11 +0000 (20:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2442 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/DecomposeMultiDimRefs/multidim.ll

index cacca9cd4cd1225887a1b339ba77bec905c303a1..8fdb47647bf9a13536911b620ba200001d57cb81 100644 (file)
@@ -11,6 +11,12 @@ declare int "ArrayRef"([100 x int] * %Array, uint %I, uint %J)
 
 implementation
 
+int "test"([20 x [10 x [5 x int]]] * %A)
+begin
+       %i = load [20 x [10 x [5 x int]]] * %A, uint 1, uint 2, uint 3, uint 4
+       ret int %i
+end
+
 void "InitializeMixed"(%Mixed_struct * %M, int %base)
 begin
 bb0:                                   ;[#uses=2]