Changes in directory llvm/test/Feature:

newcasts.ll added (r1.1)
alignment.ll updated: 1.2 -> 1.3
basictest.ll updated: 1.7 -> 1.8
callingconventions.ll updated: 1.2 -> 1.3
calltest.ll updated: 1.5 -> 1.6
casttest.ll updated: 1.3 -> 1.4
cfgstructures.ll updated: 1.2 -> 1.3
constexpr.ll updated: 1.10 -> 1.11
constpointer.ll updated: 1.3 -> 1.4
escaped_label.ll updated: 1.2 -> 1.3
float.ll updated: 1.1 -> 1.2
forwardreftest.ll updated: 1.7 -> 1.8
global_section.ll updated: 1.1 -> 1.2
globalredefinition.ll updated: 1.2 -> 1.3
globalvars.ll updated: 1.9 -> 1.10
indirectcall.ll updated: 1.2 -> 1.3
indirectcall2.ll updated: 1.2 -> 1.3
inlineasm.ll updated: 1.3 -> 1.4
instructions.ll updated: 1.3 -> 1.4
intrinsics.ll updated: 1.11 -> 1.12
opaquetypes.ll updated: 1.3 -> 1.4
packed.ll updated: 1.2 -> 1.3
properties.ll updated: 1.3 -> 1.4
prototype.ll updated: 1.3 -> 1.4
recursivetype.ll updated: 1.6 -> 1.7
simplecalltest.ll updated: 1.2 -> 1.3
small.ll updated: 1.3 -> 1.4
smallest.ll updated: 1.2 -> 1.3
testalloca.ll updated: 1.7 -> 1.8
testconstants.ll updated: 1.6 -> 1.7
testlogical.ll updated: 1.2 -> 1.3
testmemory.ll updated: 1.8 -> 1.9
testswitch.ll updated: 1.2 -> 1.3
testvarargs.ll updated: 1.4 -> 1.5
undefined.ll updated: 1.2 -> 1.3
unreachable.ll updated: 1.2 -> 1.3
varargs.ll updated: 1.4 -> 1.5
varargs_new.ll updated: 1.2 -> 1.3
weirdnames.ll updated: 1.2 -> 1.3
---
Log message:

Use the llvm-upgrade program to upgrade llvm assembly.


---
Diffs of the changes:  (+71 -66)

 alignment.ll          |    2 +-
 basictest.ll          |    3 +--
 callingconventions.ll |    2 +-
 calltest.ll           |    2 +-
 casttest.ll           |   18 +-----------------
 cfgstructures.ll      |    2 +-
 constexpr.ll          |    2 +-
 constpointer.ll       |    2 +-
 escaped_label.ll      |    2 +-
 float.ll              |    2 +-
 forwardreftest.ll     |    2 +-
 global_section.ll     |    2 +-
 globalredefinition.ll |    2 +-
 globalvars.ll         |    2 +-
 indirectcall.ll       |    2 +-
 indirectcall2.ll      |    2 +-
 inlineasm.ll          |    4 ++--
 instructions.ll       |    2 +-
 intrinsics.ll         |    2 +-
 newcasts.ll           |   21 +++++++++++++++++++++
 opaquetypes.ll        |    2 +-
 packed.ll             |    2 +-
 properties.ll         |    2 +-
 prototype.ll          |    2 +-
 recursivetype.ll      |    2 +-
 simplecalltest.ll     |    2 +-
 small.ll              |    2 +-
 smallest.ll           |    2 +-
 testalloca.ll         |    2 +-
 testconstants.ll      |    2 +-
 testlogical.ll        |    2 +-
 testmemory.ll         |    2 +-
 testswitch.ll         |    2 +-
 testvarargs.ll        |    2 +-
 undefined.ll          |    2 +-
 unreachable.ll        |    2 +-
 varargs.ll            |   23 ++++++++++++-----------
 varargs_new.ll        |    2 +-
 weirdnames.ll         |    2 +-
 39 files changed, 71 insertions(+), 66 deletions(-)


Index: llvm/test/Feature/newcasts.ll
diff -c /dev/null llvm/test/Feature/newcasts.ll:1.1
*** /dev/null   Fri Dec  1 22:23:17 2006
--- llvm/test/Feature/newcasts.ll       Fri Dec  1 22:23:07 2006
***************
*** 0 ****
--- 1,21 ----
+ ; RUN: llvm-as < %s | llvm-dis > %t1.ll
+ ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+ ; RUN: diff %t1.ll %t2.ll
+ 
+ void "NewCasts" (short %x) {
+   %a = zext short %x to int
+   %b = sext short %x to uint
+   %c = trunc short %x to ubyte
+   %d = uitofp short %x to float
+   %e = sitofp short %x to double
+   %f = fptoui float %d to short
+   %g = fptosi double %e to short
+   %i = fpext float %d to double
+   %j = fptrunc double %i to float
+   %k = bitcast int %a to float
+   %l = inttoptr short %x to int*
+   %m = ptrtoint int* %l to long
+   ret void
+ }
+ 
+ 


Index: llvm/test/Feature/alignment.ll
diff -u llvm/test/Feature/alignment.ll:1.2 llvm/test/Feature/alignment.ll:1.3
--- llvm/test/Feature/alignment.ll:1.2  Sun Nov  6 00:52:12 2005
+++ llvm/test/Feature/alignment.ll      Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/basictest.ll
diff -u llvm/test/Feature/basictest.ll:1.7 llvm/test/Feature/basictest.ll:1.8
--- llvm/test/Feature/basictest.ll:1.7  Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/basictest.ll      Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
@@ -30,4 +30,3 @@
 Startup:
        ret int 0
 end
-


Index: llvm/test/Feature/callingconventions.ll
diff -u llvm/test/Feature/callingconventions.ll:1.2 
llvm/test/Feature/callingconventions.ll:1.3
--- llvm/test/Feature/callingconventions.ll:1.2 Fri May 19 17:00:54 2006
+++ llvm/test/Feature/callingconventions.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/calltest.ll
diff -u llvm/test/Feature/calltest.ll:1.5 llvm/test/Feature/calltest.ll:1.6
--- llvm/test/Feature/calltest.ll:1.5   Fri May  6 01:18:33 2005
+++ llvm/test/Feature/calltest.ll       Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/casttest.ll
diff -u llvm/test/Feature/casttest.ll:1.3 llvm/test/Feature/casttest.ll:1.4
--- llvm/test/Feature/casttest.ll:1.3   Sun Nov 26 19:05:10 2006
+++ llvm/test/Feature/casttest.ll       Fri Dec  1 22:23:07 2006
@@ -1,23 +1,7 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
-void "NewCasts" (short %x) {
-  %a = zext short %x to int
-  %b = sext short %x to uint
-  %c = trunc short %x to ubyte
-  %d = uitofp short %x to float
-  %e = sitofp short %x to double
-  %f = fptoui float %d to short
-  %g = fptosi double %e to short
-  %i = fpext float %d to double
-  %j = fptrunc double %i to float
-  %k = bitcast int %a to float
-  %l = inttoptr short %x to int*
-  %m = ptrtoint int* %l to long
-  ret void
-}
-
 short "FunFunc"(long %x, sbyte %z)
 begin
 bb0:            ;;<label>


Index: llvm/test/Feature/cfgstructures.ll
diff -u llvm/test/Feature/cfgstructures.ll:1.2 
llvm/test/Feature/cfgstructures.ll:1.3
--- llvm/test/Feature/cfgstructures.ll:1.2      Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/cfgstructures.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/constexpr.ll
diff -u llvm/test/Feature/constexpr.ll:1.10 llvm/test/Feature/constexpr.ll:1.11
--- llvm/test/Feature/constexpr.ll:1.10 Thu Nov 23 10:45:52 2006
+++ llvm/test/Feature/constexpr.ll      Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/constpointer.ll
diff -u llvm/test/Feature/constpointer.ll:1.3 
llvm/test/Feature/constpointer.ll:1.4
--- llvm/test/Feature/constpointer.ll:1.3       Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/constpointer.ll   Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/escaped_label.ll
diff -u llvm/test/Feature/escaped_label.ll:1.2 
llvm/test/Feature/escaped_label.ll:1.3
--- llvm/test/Feature/escaped_label.ll:1.2      Thu Dec  9 23:39:57 2004
+++ llvm/test/Feature/escaped_label.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/float.ll
diff -u llvm/test/Feature/float.ll:1.1 llvm/test/Feature/float.ll:1.2
--- llvm/test/Feature/float.ll:1.1      Sat Nov 20 01:29:51 2004
+++ llvm/test/Feature/float.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > Output/t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > Output/t1.ll
 ; RUN: llvm-as Output/t1.ll -o - | llvm-dis > Output/t2.ll
 ; RUN: diff Output/t1.ll Output/t2.ll
 


Index: llvm/test/Feature/forwardreftest.ll
diff -u llvm/test/Feature/forwardreftest.ll:1.7 
llvm/test/Feature/forwardreftest.ll:1.8
--- llvm/test/Feature/forwardreftest.ll:1.7     Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/forwardreftest.ll Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/global_section.ll
diff -u llvm/test/Feature/global_section.ll:1.1 
llvm/test/Feature/global_section.ll:1.2
--- llvm/test/Feature/global_section.ll:1.1     Fri Nov 11 18:10:03 2005
+++ llvm/test/Feature/global_section.ll Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/globalredefinition.ll
diff -u llvm/test/Feature/globalredefinition.ll:1.2 
llvm/test/Feature/globalredefinition.ll:1.3
--- llvm/test/Feature/globalredefinition.ll:1.2 Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/globalredefinition.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/globalvars.ll
diff -u llvm/test/Feature/globalvars.ll:1.9 llvm/test/Feature/globalvars.ll:1.10
--- llvm/test/Feature/globalvars.ll:1.9 Thu Nov 23 09:14:52 2006
+++ llvm/test/Feature/globalvars.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/indirectcall.ll
diff -u llvm/test/Feature/indirectcall.ll:1.2 
llvm/test/Feature/indirectcall.ll:1.3
--- llvm/test/Feature/indirectcall.ll:1.2       Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/indirectcall.ll   Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/indirectcall2.ll
diff -u llvm/test/Feature/indirectcall2.ll:1.2 
llvm/test/Feature/indirectcall2.ll:1.3
--- llvm/test/Feature/indirectcall2.ll:1.2      Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/indirectcall2.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/inlineasm.ll
diff -u llvm/test/Feature/inlineasm.ll:1.3 llvm/test/Feature/inlineasm.ll:1.4
--- llvm/test/Feature/inlineasm.ll:1.3  Wed Jan 25 17:49:54 2006
+++ llvm/test/Feature/inlineasm.ll      Fri Dec  1 22:23:07 2006
@@ -1,5 +1,5 @@
-; RUN: llvm-as %s -o /dev/null -f &&
-; RUN: llvm-as %s -o - | llvm-dis > Output/t1.ll &&
+; RUN: llvm-upgrade %s -o - | llvm-as -o /dev/null -f &&
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > Output/t1.ll &&
 ; RUN: llvm-as Output/t1.ll -o - | llvm-dis > Output/t2.ll &&
 ; RUN: diff Output/t1.ll Output/t2.ll
 


Index: llvm/test/Feature/instructions.ll
diff -u llvm/test/Feature/instructions.ll:1.3 
llvm/test/Feature/instructions.ll:1.4
--- llvm/test/Feature/instructions.ll:1.3       Fri Apr  7 20:17:42 2006
+++ llvm/test/Feature/instructions.ll   Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/intrinsics.ll
diff -u llvm/test/Feature/intrinsics.ll:1.11 
llvm/test/Feature/intrinsics.ll:1.12
--- llvm/test/Feature/intrinsics.ll:1.11        Wed Jan 18 19:17:06 2006
+++ llvm/test/Feature/intrinsics.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/opaquetypes.ll
diff -u llvm/test/Feature/opaquetypes.ll:1.3 
llvm/test/Feature/opaquetypes.ll:1.4
--- llvm/test/Feature/opaquetypes.ll:1.3        Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/opaquetypes.ll    Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/packed.ll
diff -u llvm/test/Feature/packed.ll:1.2 llvm/test/Feature/packed.ll:1.3
--- llvm/test/Feature/packed.ll:1.2     Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/packed.ll Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/properties.ll
diff -u llvm/test/Feature/properties.ll:1.3 llvm/test/Feature/properties.ll:1.4
--- llvm/test/Feature/properties.ll:1.3 Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/properties.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/prototype.ll
diff -u llvm/test/Feature/prototype.ll:1.3 llvm/test/Feature/prototype.ll:1.4
--- llvm/test/Feature/prototype.ll:1.3  Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/prototype.ll      Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/recursivetype.ll
diff -u llvm/test/Feature/recursivetype.ll:1.6 
llvm/test/Feature/recursivetype.ll:1.7
--- llvm/test/Feature/recursivetype.ll:1.6      Thu Nov 23 09:14:52 2006
+++ llvm/test/Feature/recursivetype.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/simplecalltest.ll
diff -u llvm/test/Feature/simplecalltest.ll:1.2 
llvm/test/Feature/simplecalltest.ll:1.3
--- llvm/test/Feature/simplecalltest.ll:1.2     Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/simplecalltest.ll Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/small.ll
diff -u llvm/test/Feature/small.ll:1.3 llvm/test/Feature/small.ll:1.4
--- llvm/test/Feature/small.ll:1.3      Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/small.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/smallest.ll
diff -u llvm/test/Feature/smallest.ll:1.2 llvm/test/Feature/smallest.ll:1.3
--- llvm/test/Feature/smallest.ll:1.2   Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/smallest.ll       Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/testalloca.ll
diff -u llvm/test/Feature/testalloca.ll:1.7 llvm/test/Feature/testalloca.ll:1.8
--- llvm/test/Feature/testalloca.ll:1.7 Thu Nov 23 09:14:52 2006
+++ llvm/test/Feature/testalloca.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/testconstants.ll
diff -u llvm/test/Feature/testconstants.ll:1.6 
llvm/test/Feature/testconstants.ll:1.7
--- llvm/test/Feature/testconstants.ll:1.6      Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/testconstants.ll  Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/testlogical.ll
diff -u llvm/test/Feature/testlogical.ll:1.2 
llvm/test/Feature/testlogical.ll:1.3
--- llvm/test/Feature/testlogical.ll:1.2        Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/testlogical.ll    Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/testmemory.ll
diff -u llvm/test/Feature/testmemory.ll:1.8 llvm/test/Feature/testmemory.ll:1.9
--- llvm/test/Feature/testmemory.ll:1.8 Thu Nov 23 09:14:52 2006
+++ llvm/test/Feature/testmemory.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/testswitch.ll
diff -u llvm/test/Feature/testswitch.ll:1.2 llvm/test/Feature/testswitch.ll:1.3
--- llvm/test/Feature/testswitch.ll:1.2 Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/testswitch.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/testvarargs.ll
diff -u llvm/test/Feature/testvarargs.ll:1.4 
llvm/test/Feature/testvarargs.ll:1.5
--- llvm/test/Feature/testvarargs.ll:1.4        Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/testvarargs.ll    Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/undefined.ll
diff -u llvm/test/Feature/undefined.ll:1.2 llvm/test/Feature/undefined.ll:1.3
--- llvm/test/Feature/undefined.ll:1.2  Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/undefined.ll      Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/unreachable.ll
diff -u llvm/test/Feature/unreachable.ll:1.2 
llvm/test/Feature/unreachable.ll:1.3
--- llvm/test/Feature/unreachable.ll:1.2        Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/unreachable.ll    Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/varargs.ll
diff -u llvm/test/Feature/varargs.ll:1.4 llvm/test/Feature/varargs.ll:1.5
--- llvm/test/Feature/varargs.ll:1.4    Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/varargs.ll        Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 
@@ -6,18 +6,19 @@
 ; the va_arg instruction.
 
 implementation
-declare sbyte* %llvm.va_start()
-declare sbyte* %llvm.va_copy(sbyte*)
-declare void %llvm.va_end(sbyte*)
+declare void %llvm.va_start(sbyte** %ap)
+declare void %llvm.va_copy(sbyte** %aq, sbyte** %ap)
+declare void %llvm.va_end(sbyte** %ap)
 
 int %test(int %X, ...) {
-       %ap = call sbyte* %llvm.va_start()
-       %aq = call sbyte* %llvm.va_copy(sbyte* %ap)
-       call void %llvm.va_end(sbyte* %aq)
-       
-       %tmp = vaarg sbyte* %ap, int 
-       %ap2 = vanext sbyte* %ap, int
+        %ap = alloca sbyte*
+       call void %llvm.va_start(sbyte** %ap)
+       %tmp = va_arg sbyte** %ap, int 
 
-       call void %llvm.va_end(sbyte* %ap2)
+        %aq = alloca sbyte*
+       call void %llvm.va_copy(sbyte** %aq, sbyte** %ap)
+       call void %llvm.va_end(sbyte** %aq)
+       
+       call void %llvm.va_end(sbyte** %ap)
        ret int %tmp
 }


Index: llvm/test/Feature/varargs_new.ll
diff -u llvm/test/Feature/varargs_new.ll:1.2 
llvm/test/Feature/varargs_new.ll:1.3
--- llvm/test/Feature/varargs_new.ll:1.2        Sat Jun 18 15:27:32 2005
+++ llvm/test/Feature/varargs_new.ll    Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 


Index: llvm/test/Feature/weirdnames.ll
diff -u llvm/test/Feature/weirdnames.ll:1.2 llvm/test/Feature/weirdnames.ll:1.3
--- llvm/test/Feature/weirdnames.ll:1.2 Sun Nov  7 00:08:43 2004
+++ llvm/test/Feature/weirdnames.ll     Fri Dec  1 22:23:07 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
 ; RUN: diff %t1.ll %t2.ll
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to