[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll 2003-06-29-NodeCollapsing2.ll 2003-07-01-FieldCollapse.ll 2003-11-02-NodeCollapsing.ll 2005-03-22-IncompleteGlobal.ll PhysicalSubtyping.ll gcsetest.ll
Reid Spencer
reid at x10sys.com
Thu Nov 23 07:15:51 PST 2006
Changes in directory llvm/test/Regression/Analysis/DSGraph:
2003-06-29-NodeCollapsing.ll updated: 1.2 -> 1.3
2003-06-29-NodeCollapsing2.ll updated: 1.3 -> 1.4
2003-07-01-FieldCollapse.ll updated: 1.3 -> 1.4
2003-11-02-NodeCollapsing.ll updated: 1.3 -> 1.4
2005-03-22-IncompleteGlobal.ll updated: 1.4 -> 1.5
PhysicalSubtyping.ll updated: 1.3 -> 1.4
gcsetest.ll updated: 1.6 -> 1.7
---
Log message:
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.
---
Diffs of the changes: (+15 -15)
2003-06-29-NodeCollapsing.ll | 6 +++---
2003-06-29-NodeCollapsing2.ll | 4 ++--
2003-07-01-FieldCollapse.ll | 2 +-
2003-11-02-NodeCollapsing.ll | 4 ++--
2005-03-22-IncompleteGlobal.ll | 2 +-
PhysicalSubtyping.ll | 4 ++--
gcsetest.ll | 8 ++++----
7 files changed, 15 insertions(+), 15 deletions(-)
Index: llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll
diff -u llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll:1.2 llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll:1.3
--- llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll:1.2 Mon Sep 15 14:58:02 2003
+++ llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing.ll Thu Nov 23 09:14:52 2006
@@ -5,12 +5,12 @@
%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
Index: llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll
diff -u llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll:1.3 llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll:1.4
--- llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll:1.3 Sun Aug 27 17:47:14 2006
+++ llvm/test/Regression/Analysis/DSGraph/2003-06-29-NodeCollapsing2.ll Thu Nov 23 09:14:52 2006
@@ -9,8 +9,8 @@
%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!
Index: llvm/test/Regression/Analysis/DSGraph/2003-07-01-FieldCollapse.ll
diff -u llvm/test/Regression/Analysis/DSGraph/2003-07-01-FieldCollapse.ll:1.3 llvm/test/Regression/Analysis/DSGraph/2003-07-01-FieldCollapse.ll:1.4
--- llvm/test/Regression/Analysis/DSGraph/2003-07-01-FieldCollapse.ll:1.3 Sun Aug 27 17:47:14 2006
+++ llvm/test/Regression/Analysis/DSGraph/2003-07-01-FieldCollapse.ll Thu Nov 23 09:14:52 2006
@@ -6,6 +6,6 @@
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
}
Index: llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll
diff -u llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll:1.3 llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll:1.4
--- llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll:1.3 Sun Aug 27 17:47:14 2006
+++ llvm/test/Regression/Analysis/DSGraph/2003-11-02-NodeCollapsing.ll Thu Nov 23 09:14:52 2006
@@ -11,8 +11,8 @@
%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
Index: llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll
diff -u llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll:1.4 llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll:1.5
--- llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll:1.4 Sun Aug 27 17:47:14 2006
+++ llvm/test/Regression/Analysis/DSGraph/2005-03-22-IncompleteGlobal.ll Thu Nov 23 09:14:52 2006
@@ -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
}
Index: llvm/test/Regression/Analysis/DSGraph/PhysicalSubtyping.ll
diff -u llvm/test/Regression/Analysis/DSGraph/PhysicalSubtyping.ll:1.3 llvm/test/Regression/Analysis/DSGraph/PhysicalSubtyping.ll:1.4
--- llvm/test/Regression/Analysis/DSGraph/PhysicalSubtyping.ll:1.3 Sun Aug 27 17:47:14 2006
+++ llvm/test/Regression/Analysis/DSGraph/PhysicalSubtyping.ll Thu Nov 23 09:14:52 2006
@@ -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
Index: llvm/test/Regression/Analysis/DSGraph/gcsetest.ll
diff -u llvm/test/Regression/Analysis/DSGraph/gcsetest.ll:1.6 llvm/test/Regression/Analysis/DSGraph/gcsetest.ll:1.7
--- llvm/test/Regression/Analysis/DSGraph/gcsetest.ll:1.6 Mon Sep 15 14:58:02 2003
+++ llvm/test/Regression/Analysis/DSGraph/gcsetest.ll Thu Nov 23 09:14:52 2006
@@ -10,21 +10,21 @@
%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
}
More information about the llvm-commits
mailing list