[llvm-commits] CVS: llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll 2003-10-28-CastToPtrToStruct.ll

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



Changes in directory llvm/test/Regression/CodeGen/CBackend:

2003-06-01-NullPointerType.ll updated: 1.2 -> 1.3
2003-10-28-CastToPtrToStruct.ll updated: 1.2 -> 1.3
---
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)

 2003-06-01-NullPointerType.ll   |    2 +-
 2003-10-28-CastToPtrToStruct.ll |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll
diff -u llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll:1.2 llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll:1.3
--- llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll:1.2	Sat Nov  6 15:40:26 2004
+++ llvm/test/Regression/CodeGen/CBackend/2003-06-01-NullPointerType.ll	Thu Nov 23 09:14:52 2006
@@ -4,6 +4,6 @@
 %X = type { int, float }
 
 void %test() {
-  getelementptr %X* null, long 0, ubyte 1
+  getelementptr %X* null, long 0, uint 1
   ret void
 }


Index: llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll
diff -u llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll:1.2 llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll:1.3
--- llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll:1.2	Sat Nov  6 15:40:26 2004
+++ llvm/test/Regression/CodeGen/CBackend/2003-10-28-CastToPtrToStruct.ll	Thu Nov 23 09:14:52 2006
@@ -7,6 +7,6 @@
 implementation   ; Functions:
 void %I_InitGraphics() {
 shortcirc_next.3:		; preds = %no_exit.1
-	%tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, ubyte 1)		; <int> [#uses=1]
+	%tmp.319 = load int* getelementptr ({ int, int }* cast (%union._XEvent* %.X_event_9 to { int, int }*), long 0, uint 1)		; <int> [#uses=1]
     ret void
 }






More information about the llvm-commits mailing list