Fix buggy testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-18 22:34:14 +00:00
parent a59f71adea
commit 13fc1eaee5

View File

@ -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