projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59f71a
)
Fix buggy testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 18 Aug 2003 22:34:14 +0000
(22:34 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 18 Aug 2003 22:34:14 +0000
(22:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7966
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/DecomposeMultiDimRefs/multidim.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/DecomposeMultiDimRefs/multidim.ll
b/test/Transforms/DecomposeMultiDimRefs/multidim.ll
index 48c8763876d266edf94a597807a925557d26f3d3..24198713566c072d14625258998193c110d96bf6 100644
(file)
--- a/
test/Transforms/DecomposeMultiDimRefs/multidim.ll
+++ b/
test/Transforms/DecomposeMultiDimRefs/multidim.ll
@@
-84,7
+84,8
@@
end
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