[llvm-commits] CVS: llvm/test/Regression/Linker/testlink1.ll testlink2.ll

Reid Spencer reid at x10sys.com
Thu Nov 23 07:15:48 PST 2006



Changes in directory llvm/test/Regression/Linker:

testlink1.ll updated: 1.11 -> 1.12
testlink2.ll updated: 1.9 -> 1.10
---
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:  (+2 -2)

 testlink1.ll |    2 +-
 testlink2.ll |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/Linker/testlink1.ll
diff -u llvm/test/Regression/Linker/testlink1.ll:1.11 llvm/test/Regression/Linker/testlink1.ll:1.12
--- llvm/test/Regression/Linker/testlink1.ll:1.11	Fri Dec  3 13:48:10 2004
+++ llvm/test/Regression/Linker/testlink1.ll	Thu Nov 23 09:14:52 2006
@@ -25,7 +25,7 @@
 	%v1 = load int* %MyVar
 	call void %print(int %v1)    ;; Should start out 4
 
-	%idx = getelementptr { \2 *, int }* %MyIntList, long 0, ubyte 1
+	%idx = getelementptr { \2 *, int }* %MyIntList, long 0, uint 1
 	%v2 = load int* %idx
 	call void %print(int %v2)    ;; Should start out 17
 


Index: llvm/test/Regression/Linker/testlink2.ll
diff -u llvm/test/Regression/Linker/testlink2.ll:1.9 llvm/test/Regression/Linker/testlink2.ll:1.10
--- llvm/test/Regression/Linker/testlink2.ll:1.9	Wed Apr 23 13:38:13 2003
+++ llvm/test/Regression/Linker/testlink2.ll	Thu Nov 23 09:14:52 2006
@@ -20,7 +20,7 @@
 int "foo"(int %blah)
 begin
 	store int %blah, int *%MyVar
-	%idx = getelementptr { \2 *, int } * %MyIntList, long 0, ubyte 1
+	%idx = getelementptr { \2 *, int } * %MyIntList, long 0, uint 1
 	store int 12, int* %idx
 
 	%ack = load int * %0   ;; Load from the unnamed constant






More information about the llvm-commits mailing list