[llvm-commits] CVS: llvm/test/Integer/2007-01-19-TruncSext.ll indirectcall_bt.ll paramattrs_bt.ll recursivetype_bt.ll

Reid Spencer reid at x10sys.com
Tue Jan 30 08:16:32 PST 2007



Changes in directory llvm/test/Integer:

2007-01-19-TruncSext.ll updated: 1.2 -> 1.3
indirectcall_bt.ll updated: 1.2 -> 1.3
paramattrs_bt.ll updated: 1.2 -> 1.3
recursivetype_bt.ll updated: 1.3 -> 1.4
---
Log message:

For PR411: http://llvm.org/PR411 :
Update these tests to not use the same name even though the type of the
value differs. After PR411: http://llvm.org/PR411  hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.


---
Diffs of the changes:  (+8 -8)

 2007-01-19-TruncSext.ll |    2 +-
 indirectcall_bt.ll      |    4 ++--
 paramattrs_bt.ll        |    2 +-
 recursivetype_bt.ll     |    8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/test/Integer/2007-01-19-TruncSext.ll
diff -u llvm/test/Integer/2007-01-19-TruncSext.ll:1.2 llvm/test/Integer/2007-01-19-TruncSext.ll:1.3
--- llvm/test/Integer/2007-01-19-TruncSext.ll:1.2	Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/2007-01-19-TruncSext.ll	Tue Jan 30 10:16:01 2007
@@ -16,7 +16,7 @@
   ret void
 }
 
-define i32 @main(i32 %argc, i8** %argc) {
+define i32 @main(i32 %argc, i8** %argv) {
   %i = bitcast i32 0 to i32
   call void @multiply(i32 %i, i32 -1, i32 255) 
   %P = getelementptr [20 x i17]* @ARRAY, i32 0, i32 0


Index: llvm/test/Integer/indirectcall_bt.ll
diff -u llvm/test/Integer/indirectcall_bt.ll:1.2 llvm/test/Integer/indirectcall_bt.ll:1.3
--- llvm/test/Integer/indirectcall_bt.ll:1.2	Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/indirectcall_bt.ll	Tue Jan 30 10:16:01 2007
@@ -48,6 +48,6 @@
 define i32 @"main"()
 begin
   %Result = call i63 @trampoline(i63 10, i63(i63) *@fib)
-  %Result = trunc i63 %Result to i32
-  ret i32 %Result
+  %Result2 = trunc i63 %Result to i32
+  ret i32 %Result2
 end


Index: llvm/test/Integer/paramattrs_bt.ll
diff -u llvm/test/Integer/paramattrs_bt.ll:1.2 llvm/test/Integer/paramattrs_bt.ll:1.3
--- llvm/test/Integer/paramattrs_bt.ll:1.2	Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/paramattrs_bt.ll	Tue Jan 30 10:16:01 2007
@@ -14,7 +14,7 @@
     %val = trunc i33 %argc to i16
     %res = call i16 (i16 sext) sext *@test(i16 %val)
     %two = add i16 %res, %res
-    %res = call i8 @test2(i16 %two zext) zext 
+    %res2 = call i8 @test2(i16 %two zext) zext 
     %retVal = sext i16 %two to i33
     ret i33 %retVal
 }


Index: llvm/test/Integer/recursivetype_bt.ll
diff -u llvm/test/Integer/recursivetype_bt.ll:1.3 llvm/test/Integer/recursivetype_bt.ll:1.4
--- llvm/test/Integer/recursivetype_bt.ll:1.3	Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/recursivetype_bt.ll	Tue Jan 30 10:16:01 2007
@@ -68,10 +68,10 @@
         %cast1006 = bitcast %list** %reg119 to i8**             ;;<i8**>
         %reg111 = call i8* @malloc(i32 16)                  ;;<i8*>
         store i8* %reg111, i8** %cast1006                 ;;<void>
-	%reg111 = ptrtoint i8* %reg111 to i64
-	%reg1002 = add i64 %reg111, 8
-        %reg1002 = inttoptr i64 %reg1002 to i8*             ;;<i8*>
-        %cast1008 = bitcast i8* %reg1002 to i36*                ;;<i36*>
+	%reg112 = ptrtoint i8* %reg111 to i64
+	%reg1002 = add i64 %reg112, 8
+        %reg1005 = inttoptr i64 %reg1002 to i8*             ;;<i8*>
+        %cast1008 = bitcast i8* %reg1005 to i36*                ;;<i36*>
         store i36 %Data, i36* %cast1008                         ;;<void>
         %cast1003 = inttoptr i64 0 to i64*                      ;;<i64*>
         %cast1009 = bitcast i8* %reg111 to i64**              ;;<i64**>






More information about the llvm-commits mailing list