[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2002-02-14-BadAssertion.ll 2002-03-14-ConvertableToGEPHang.ll 2002-03-20-Crash.ll 2002-03-21-MissedRaise2.ll 2002-07-16-RaiseCrash.ll 2002-07-31-AssertionFailure.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 4 00:10:01 PST 2002


Changes in directory llvm/test/Regression/Transforms/LevelRaise:

2002-02-14-BadAssertion.ll updated: 1.1 -> 1.2
2002-03-14-ConvertableToGEPHang.ll updated: 1.3 -> 1.4
2002-03-20-Crash.ll updated: 1.4 -> 1.5
2002-03-21-MissedRaise2.ll updated: 1.1 -> 1.2
2002-07-16-RaiseCrash.ll updated: 1.3 -> 1.4
2002-07-31-AssertionFailure.ll updated: 1.2 -> 1.3

---
Log message:

Convert uint gep operands to long


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/LevelRaise/2002-02-14-BadAssertion.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-02-14-BadAssertion.ll:1.1 llvm/test/Regression/Transforms/LevelRaise/2002-02-14-BadAssertion.ll:1.2
--- llvm/test/Regression/Transforms/LevelRaise/2002-02-14-BadAssertion.ll:1.1	Thu Feb 14 16:20:54 2002
+++ llvm/test/Regression/Transforms/LevelRaise/2002-02-14-BadAssertion.ll	Mon Nov  4 00:09:46 2002
@@ -10,8 +10,8 @@
 begin
 	%reg108 = call int %connect_left( )	
 	%cast1002 = cast ulong 8 to sbyte *		
-        %reg108-idxcast = cast int %reg108 to uint
-        %reg1000 = getelementptr sbyte * %cast1002, uint %reg108-idxcast
+        %reg108-idxcast = cast int %reg108 to long
+        %reg1000 = getelementptr sbyte * %cast1002, long %reg108-idxcast
 	%cast1003 = cast sbyte * %reg1000 to sbyte * *	
 	%reg112 = load sbyte * * %cast1003		
 	%cast111 = cast sbyte * %reg112 to int


Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-14-ConvertableToGEPHang.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-14-ConvertableToGEPHang.ll:1.3 llvm/test/Regression/Transforms/LevelRaise/2002-03-14-ConvertableToGEPHang.ll:1.4
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-14-ConvertableToGEPHang.ll:1.3	Tue Sep 10 14:55:40 2002
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-14-ConvertableToGEPHang.ll	Mon Nov  4 00:09:46 2002
@@ -11,9 +11,9 @@
 void "build_image_array"()
 begin
 bb0:					;[#uses=0]
-	%reg109 = getelementptr %Disjunct * * * %chosen_disjuncts, uint 7		; <%Disjunct * * *> [#uses=1]
+	%reg109 = getelementptr %Disjunct * * * %chosen_disjuncts, long 7		; <%Disjunct * * *> [#uses=1]
 	%reg108 = load %Disjunct * * * %reg109		; <%Disjunct * *> [#uses=1]
-	%reg1000 = getelementptr %Disjunct * * %reg108, uint 3		; <%Disjunct * *> [#uses=1]
+	%reg1000 = getelementptr %Disjunct * * %reg108, long 3		; <%Disjunct * *> [#uses=1]
 	%cast1007 = cast %Disjunct * * %reg1000 to sbyte * *		; <sbyte * *> [#uses=1]
 	%reg110 = load sbyte * * %cast1007		; <sbyte *> [#uses=1]
 	%cast1008 = cast ulong 4 to sbyte *		; <sbyte *> [#uses=1]


Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll:1.4 llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll:1.5
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll:1.4	Tue Sep 10 15:04:19 2002
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-20-Crash.ll	Mon Nov  4 00:09:46 2002
@@ -14,7 +14,7 @@
 	%A = cast %Village* %village to ulong
 	%reg123 = add ulong %A, %cast121		; <%Village *> [#uses=1]
 	%reg123 = cast ulong %reg123 to %Village*
-	%idx = getelementptr %Village * %reg123, uint 0, ubyte 0, uint 0		; <%Village *> [#uses=1]
+	%idx = getelementptr %Village * %reg123, long 0, ubyte 0, long 0		; <%Village *> [#uses=1]
 	%reg118 = load %Village** %idx
 	ret %Village *%reg118
 end


Index: llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll:1.1 llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll:1.2
--- llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll:1.1	Thu Mar 21 16:39:43 2002
+++ llvm/test/Regression/Transforms/LevelRaise/2002-03-21-MissedRaise2.ll	Mon Nov  4 00:09:46 2002
@@ -21,10 +21,10 @@
 	%reg115 = malloc sbyte *, uint 1		; <sbyte * *> [#uses=1]
 	store sbyte * * %reg115, sbyte * * * %reg112
 	%reg121 = load sbyte * * * %reg112		; <sbyte * *> [#uses=1]
-	%size-idxcast1 = cast int %size to uint		; <uint> [#uses=1]
-	%reg1221 = getelementptr sbyte * * %reg121, uint %size-idxcast1		; <sbyte * *> [#uses=1]
+	%size-idxcast1 = cast int %size to long		; <uint> [#uses=1]
+	%reg1221 = getelementptr sbyte * * %reg121, long %size-idxcast1		; <sbyte * *> [#uses=1]
 	store sbyte * null, sbyte * * %reg1221
-	%reg232 = getelementptr sbyte * * * %reg112, uint 1		; <sbyte * * *> [#uses=1]
+	%reg232 = getelementptr sbyte * * * %reg112, long 1		; <sbyte * * *> [#uses=1]
 	%cast243 = cast int (uint) * %map to sbyte * *		; <sbyte * *> [#uses=1]
 	store sbyte * * %cast243, sbyte * * * %reg232
 	%cast246 = cast sbyte * * * %reg112 to %Hash		; <%Hash> [#uses=1]


Index: llvm/test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll:1.3 llvm/test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll:1.4
--- llvm/test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll:1.3	Thu Aug 22 11:39:14 2002
+++ llvm/test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll	Mon Nov  4 00:09:46 2002
@@ -12,13 +12,13 @@
 	br bool %cond220, label %bb5, label %bb2
 
 bb2:					;[#uses=3]
-	%reg2221 = getelementptr sbyte*** %cast219, uint 6		; <sbyte***> [#uses=1]
+	%reg2221 = getelementptr sbyte*** %cast219, long 6		; <sbyte***> [#uses=1]
 	%reg108 = load sbyte*** %reg2221		; <sbyte**> [#uses=3]
-	%reg2251 = getelementptr sbyte** %reg108, uint 5		; <sbyte**> [#uses=1]
+	%reg2251 = getelementptr sbyte** %reg108, long 5		; <sbyte**> [#uses=1]
 	store sbyte* null, sbyte** %reg2251
-	%reg2281 = getelementptr sbyte*** %cast219, uint 6		; <sbyte***> [#uses=1]
+	%reg2281 = getelementptr sbyte*** %cast219, long 6		; <sbyte***> [#uses=1]
 	store sbyte** null, sbyte*** %reg2281
-	%reg2311 = getelementptr sbyte*** %cast219, uint 5		; <sbyte***> [#uses=1]
+	%reg2311 = getelementptr sbyte*** %cast219, long 5		; <sbyte***> [#uses=1]
 	%reg114 = load sbyte*** %reg2311		; <sbyte**> [#uses=2]
 	%cond234 = seteq sbyte** %reg114, null		; <bool> [#uses=1]
 	br bool %cond234, label %bb4, label %bb3
@@ -26,12 +26,12 @@
 bb3:					;[#uses=4]
 	%reg115 = phi sbyte*** [ %cast117, %bb3 ], [ %cast219, %bb2 ]		; <sbyte***> [#uses=2]
 	%reg116 = phi sbyte** [ %cast118, %bb3 ], [ %reg114, %bb2 ]		; <sbyte**> [#uses=4]
-	%reg236 = getelementptr sbyte** %reg116, uint 5		; <sbyte**> [#uses=1]
+	%reg236 = getelementptr sbyte** %reg116, long 5		; <sbyte**> [#uses=1]
 	%reg110 = load sbyte** %reg236		; <sbyte*> [#uses=1]
-	%reg239 = getelementptr sbyte** %reg116, uint 5		; <sbyte**> [#uses=1]
+	%reg239 = getelementptr sbyte** %reg116, long 5		; <sbyte**> [#uses=1]
 	%cast241 = cast sbyte*** %reg115 to sbyte*		; <sbyte*> [#uses=1]
 	store sbyte* %cast241, sbyte** %reg239
-	%reg242 = getelementptr sbyte*** %reg115, uint 6		; <sbyte***> [#uses=1]
+	%reg242 = getelementptr sbyte*** %reg115, long 6		; <sbyte***> [#uses=1]
 	store sbyte** %reg116, sbyte*** %reg242
 	%cast117 = cast sbyte** %reg116 to sbyte***		; <sbyte***> [#uses=1]
 	%cast118 = cast sbyte* %reg110 to sbyte**		; <sbyte**> [#uses=2]
@@ -39,9 +39,9 @@
 	br bool %cond245, label %bb3, label %bb4
 
 bb4:					;[#uses=2]
-	%reg247 = getelementptr sbyte*** %cast219, uint 5		; <sbyte***> [#uses=1]
+	%reg247 = getelementptr sbyte*** %cast219, long 5		; <sbyte***> [#uses=1]
 	store sbyte** %reg108, sbyte*** %reg247
-	%reg250 = getelementptr sbyte** %reg108, uint 6		; <sbyte**> [#uses=2]
+	%reg250 = getelementptr sbyte** %reg108, long 6		; <sbyte**> [#uses=2]
 	cast sbyte** %reg250 to sbyte****		; <sbyte****>:0 [#uses=0]
 	%cast252 = cast sbyte*** %cast219 to sbyte*		; <sbyte*> [#uses=1]
 	store sbyte* %cast252, sbyte** %reg250


Index: llvm/test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll
diff -u llvm/test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll:1.2 llvm/test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll:1.3
--- llvm/test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll:1.2	Wed Jul 31 16:10:11 2002
+++ llvm/test/Regression/Transforms/LevelRaise/2002-07-31-AssertionFailure.ll	Mon Nov  4 00:09:46 2002
@@ -18,7 +18,7 @@
 bb5:                                    ;[#uses=2]
         %reg125 = phi sbyte* [ %reg126, %bb2], [ null, %0 ]
         %reg263 = malloc sbyte*, uint 3         ; <sbyte**> [#uses=4]
-        %reg2641 = getelementptr sbyte** %reg263, uint 1                ; <sbyte**> [#uses=1]
+        %reg2641 = getelementptr sbyte** %reg263, long 1                ; <sbyte**> [#uses=1]
         store sbyte* %reg125, sbyte** %reg2641
         store sbyte* %reg125, sbyte** %reg263
         %cast271 = cast sbyte** %reg263 to %CON_node*           ; <%CON_node*> [#uses=1]





More information about the llvm-commits mailing list