[llvm-commits] CVS: llvm/test/Regression/Transforms/DecomposeMultiDimRefs/multidim.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 18 17:35:00 PDT 2003


Changes in directory llvm/test/Regression/Transforms/DecomposeMultiDimRefs:

multidim.ll updated: 1.5 -> 1.6

---
Log message:

Fix buggy testcase


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/DecomposeMultiDimRefs/multidim.ll
diff -u llvm/test/Regression/Transforms/DecomposeMultiDimRefs/multidim.ll:1.5 llvm/test/Regression/Transforms/DecomposeMultiDimRefs/multidim.ll:1.6
--- llvm/test/Regression/Transforms/DecomposeMultiDimRefs/multidim.ll:1.5	Tue Oct 15 16:14:24 2002
+++ llvm/test/Regression/Transforms/DecomposeMultiDimRefs/multidim.ll	Mon Aug 18 17:34:14 2003
@@ -84,7 +84,8 @@
 sbyte "PtrRef"(sbyte** %argv, long %I, long %J)
 begin
 bb0:					;[#uses=3]
-	%idx = getelementptr sbyte** %argv, long %I, long %J
-	%reg222 = load sbyte* %idx
-	ret sbyte %reg222;
+	%idx = getelementptr sbyte** %argv, long %I
+	%reg222 = load sbyte** %idx
+	%tmp = load sbyte* %reg222
+	ret sbyte %tmp
 end





More information about the llvm-commits mailing list