aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/DSGraph
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/DSGraph')
-rw-r--r--test/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll6
-rw-r--r--test/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll4
-rw-r--r--test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll2
-rw-r--r--test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll4
-rw-r--r--test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll2
-rw-r--r--test/Analysis/DSGraph/PhysicalSubtyping.ll4
-rw-r--r--test/Analysis/DSGraph/gcsetest.ll8
7 files changed, 15 insertions, 15 deletions
diff --git a/test/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll b/test/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll
index ed49a85..db95623 100644
--- a/test/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll
+++ b/test/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll
@@ -5,12 +5,12 @@ int %main() {
%A = alloca %T
%B = alloca { %T }
%C = alloca %T*
- %Bp = getelementptr { %T }* %B, long 0, ubyte 0
+ %Bp = getelementptr { %T }* %B, long 0, uint 0
%i0 = alloca int
%i1 = alloca int
- %Ap0 = getelementptr %T* %A, long 0, ubyte 0
- %Ap1 = getelementptr %T* %A, long 0, ubyte 1
+ %Ap0 = getelementptr %T* %A, long 0, uint 0
+ %Ap1 = getelementptr %T* %A, long 0, uint 1
store int* %i0, int** %Ap0
store int* %i1, int** %Ap1
diff --git a/test/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll b/test/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll
index 9909c20..93260e8 100644
--- a/test/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll
+++ b/test/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll
@@ -9,8 +9,8 @@ int %main() {
%A = alloca %T
%B = alloca { %T }
%C = alloca %T*
- %Bp = getelementptr { %T }* %B, long 0, ubyte 0
- %Ap = getelementptr %T* %A, long 0, ubyte 0
+ %Bp = getelementptr { %T }* %B, long 0, uint 0
+ %Ap = getelementptr %T* %A, long 0, uint 0
store %T* %A, %T** %C
store %T* %Bp, %T** %C ; This store was causing merging to happen!
diff --git a/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll b/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
index fe13567..a0ab492 100644
--- a/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
+++ b/test/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
@@ -6,6 +6,6 @@ implementation
void %test() {
- store short 5, short* getelementptr ({ int, short, short }* %X, long 0, ubyte 1)
+ store short 5, short* getelementptr ({ int, short, short }* %X, long 0, uint 1)
ret void
}
diff --git a/test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll b/test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
index 846a3cb..416fc25 100644
--- a/test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
+++ b/test/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
@@ -11,8 +11,8 @@ void %test() {
%A = alloca double*
%B = alloca %S
%C = alloca %T
- %b = getelementptr %S* %B, long 0, ubyte 0
- %c = getelementptr %T* %C, long 0, ubyte 0
+ %b = getelementptr %S* %B, long 0, uint 0
+ %c = getelementptr %T* %C, long 0, uint 0
store double* %b, double** %A
store double* %c, double** %A
diff --git a/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll b/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
index 182876c..86b0533 100644
--- a/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
+++ b/test/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
@@ -6,7 +6,7 @@
%G = external global %S
void %main() {
- %b = getelementptr %S* %G, long 0, ubyte 0
+ %b = getelementptr %S* %G, long 0, uint 0
store double 0.1, double* %b
ret void
}
diff --git a/test/Analysis/DSGraph/PhysicalSubtyping.ll b/test/Analysis/DSGraph/PhysicalSubtyping.ll
index cdc2cf0..6e9676e 100644
--- a/test/Analysis/DSGraph/PhysicalSubtyping.ll
+++ b/test/Analysis/DSGraph/PhysicalSubtyping.ll
@@ -7,9 +7,9 @@
int %main() {
%A = alloca %S
- %Ap = getelementptr %S* %A, long 0, ubyte 0
+ %Ap = getelementptr %S* %A, long 0, uint 0
%B = alloca %T
- %Bp = getelementptr %T* %B, long 0, ubyte 0
+ %Bp = getelementptr %T* %B, long 0, uint 0
%C = alloca int*
store int* %Ap, int** %C
diff --git a/test/Analysis/DSGraph/gcsetest.ll b/test/Analysis/DSGraph/gcsetest.ll
index 37600a8..b9b28c4 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
}