[llvm-commits] CVS: llvm/test/Feature/paramattrs.ll

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



Changes in directory llvm/test/Feature:

paramattrs.ll updated: 1.4 -> 1.5
---
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:  (+3 -3)

 paramattrs.ll |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/test/Feature/paramattrs.ll
diff -u llvm/test/Feature/paramattrs.ll:1.4 llvm/test/Feature/paramattrs.ll:1.5
--- llvm/test/Feature/paramattrs.ll:1.4	Fri Jan 26 02:25:06 2007
+++ llvm/test/Feature/paramattrs.ll	Tue Jan 30 10:16:01 2007
@@ -12,9 +12,9 @@
 
 define i32 @main(i32 %argc, i8 **%argv) {
     %val = trunc i32 %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 
+    %res1 = call i16 (i16 sext) sext *@test(i16 %val)
+    %two = add i16 %res1, %res1
+    %res2 = call i8 @test2(i16 %two zext) zext 
     %retVal = sext i16 %two to i32
     ret i32 %retVal
 }






More information about the llvm-commits mailing list