aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/DSGraph/gcsetest.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-23 15:14:52 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-23 15:14:52 +0000
commite5d4efa63ec2c1296e3a1a3e70763df02cd1a7ab (patch)
tree8d911b30b965f442bda5d3372328d7c093438a6b /test/Analysis/DSGraph/gcsetest.ll
parent565706b93e3695da49aee8d2eb67006ffdb2591f (diff)
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely on the upgrade capability. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/DSGraph/gcsetest.ll')
-rw-r--r--test/Analysis/DSGraph/gcsetest.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/DSGraph/gcsetest.ll b/test/Analysis/DSGraph/gcsetest.ll
index 37600a8900..b9b28c4f8c 100644
--- a/test/Analysis/DSGraph/gcsetest.ll
+++ b/test/Analysis/DSGraph/gcsetest.ll
@@ -10,21 +10,21 @@ implementation
%Ap = malloc int
%Bp = malloc int
%C = malloc {int*, int*}
- %C1p = getelementptr {int*, int*}* %C, long 0, ubyte 0
+ %C1p = getelementptr {int*, int*}* %C, long 0, uint 0
store int* %Ap, int** %C1p
- %C2p = getelementptr {int*, int*}* %C, long 0, ubyte 1
+ %C2p = getelementptr {int*, int*}* %C, long 0, uint 1
store int* %Bp, int** %C2p
ret %intpair* %C
}
int* %getp(%intpair* %P) {
- %pp = getelementptr %intpair* %P, long 0, ubyte 0
+ %pp = getelementptr %intpair* %P, long 0, uint 0
%V = load int** %pp
ret int *%V
}
int* %getq(%intpair* %P) {
- %pp = getelementptr %intpair* %P, long 0, ubyte 1
+ %pp = getelementptr %intpair* %P, long 0, uint 1
%V = load int** %pp
ret int *%V
}