[llvm-commits] CVS: llvm/test/Regression/ExecutionEngine/2003-01-04-PhiTest.ll 2003-05-11-PHIRegAllocBug.ll 2003-06-05-PHIBug.ll 2003-08-15-AllocaAssertion.ll 2003-08-23-RegisterAllocatePhysReg.ll hello.ll hello2.ll simplesttest.ll simpletest.ll test-loadstore.ll test-logical.ll test-malloc.ll test-ret.ll test-shift.ll
Reid Spencer
reid at x10sys.com
Sat Dec 30 22:03:28 PST 2006
Changes in directory llvm/test/Regression/ExecutionEngine:
2003-01-04-PhiTest.ll updated: 1.4 -> 1.5
2003-05-11-PHIRegAllocBug.ll updated: 1.3 -> 1.4
2003-06-05-PHIBug.ll updated: 1.2 -> 1.3
2003-08-15-AllocaAssertion.ll updated: 1.2 -> 1.3
2003-08-23-RegisterAllocatePhysReg.ll updated: 1.2 -> 1.3
hello.ll updated: 1.3 -> 1.4
hello2.ll updated: 1.3 -> 1.4
simplesttest.ll updated: 1.5 -> 1.6
simpletest.ll updated: 1.2 -> 1.3
test-loadstore.ll updated: 1.6 -> 1.7
test-logical.ll updated: 1.5 -> 1.6
test-malloc.ll updated: 1.2 -> 1.3
test-ret.ll updated: 1.5 -> 1.6
test-shift.ll updated: 1.7 -> 1.8
---
Log message:
For PR950: http://llvm.org/PR950 :
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:
1. Make sure llvm-upgrade is run on the source which does the bulk of the
changes automatically.
2. Change things like "grep 'int'" to "grep 'i32'"
3. In several tests bitcasting caused the same name to be reused in the
same type plane. These had to be manually fixed. The fix was (generally)
to leave the bitcast and provide the instruction with a new name. This
should not affect the semantics of the test. In a few cases, the
bitcasts were known to be superfluous and irrelevant to the test case
so they were removed.
4. One test case uses a bytecode file which needed to be updated to the
latest bytecode format.
---
Diffs of the changes: (+36 -36)
2003-01-04-PhiTest.ll | 2 +-
2003-05-11-PHIRegAllocBug.ll | 2 +-
2003-06-05-PHIBug.ll | 2 +-
2003-08-15-AllocaAssertion.ll | 2 +-
2003-08-23-RegisterAllocatePhysReg.ll | 2 +-
hello.ll | 2 +-
hello2.ll | 2 +-
simplesttest.ll | 2 +-
simpletest.ll | 2 +-
test-loadstore.ll | 2 +-
test-logical.ll | 2 +-
test-malloc.ll | 2 +-
test-ret.ll | 22 +++++++++++-----------
test-shift.ll | 26 +++++++++++++-------------
14 files changed, 36 insertions(+), 36 deletions(-)
Index: llvm/test/Regression/ExecutionEngine/2003-01-04-PhiTest.ll
diff -u llvm/test/Regression/ExecutionEngine/2003-01-04-PhiTest.ll:1.4 llvm/test/Regression/ExecutionEngine/2003-01-04-PhiTest.ll:1.5
--- llvm/test/Regression/ExecutionEngine/2003-01-04-PhiTest.ll:1.4 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/2003-01-04-PhiTest.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
int %main() {
Index: llvm/test/Regression/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll
diff -u llvm/test/Regression/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll:1.3 llvm/test/Regression/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll:1.4
--- llvm/test/Regression/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll:1.3 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
target endian = little
Index: llvm/test/Regression/ExecutionEngine/2003-06-05-PHIBug.ll
diff -u llvm/test/Regression/ExecutionEngine/2003-06-05-PHIBug.ll:1.2 llvm/test/Regression/ExecutionEngine/2003-06-05-PHIBug.ll:1.3
--- llvm/test/Regression/ExecutionEngine/2003-06-05-PHIBug.ll:1.2 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/2003-06-05-PHIBug.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
; Testcase distilled from 256.bzip2.
Index: llvm/test/Regression/ExecutionEngine/2003-08-15-AllocaAssertion.ll
diff -u llvm/test/Regression/ExecutionEngine/2003-08-15-AllocaAssertion.ll:1.2 llvm/test/Regression/ExecutionEngine/2003-08-15-AllocaAssertion.ll:1.3
--- llvm/test/Regression/ExecutionEngine/2003-08-15-AllocaAssertion.ll:1.2 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/2003-08-15-AllocaAssertion.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
; This testcase failed to work because two variable sized allocas confused the
Index: llvm/test/Regression/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
diff -u llvm/test/Regression/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll:1.2 llvm/test/Regression/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll:1.3
--- llvm/test/Regression/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll:1.2 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
; This testcase exposes a bug in the local register allocator where it runs out
Index: llvm/test/Regression/ExecutionEngine/hello.ll
diff -u llvm/test/Regression/ExecutionEngine/hello.ll:1.3 llvm/test/Regression/ExecutionEngine/hello.ll:1.4
--- llvm/test/Regression/ExecutionEngine/hello.ll:1.3 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/hello.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
%.LC0 = internal global [12 x sbyte] c"Hello World\00"
Index: llvm/test/Regression/ExecutionEngine/hello2.ll
diff -u llvm/test/Regression/ExecutionEngine/hello2.ll:1.3 llvm/test/Regression/ExecutionEngine/hello2.ll:1.4
--- llvm/test/Regression/ExecutionEngine/hello2.ll:1.3 Wed May 17 18:43:56 2006
+++ llvm/test/Regression/ExecutionEngine/hello2.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
Index: llvm/test/Regression/ExecutionEngine/simplesttest.ll
diff -u llvm/test/Regression/ExecutionEngine/simplesttest.ll:1.5 llvm/test/Regression/ExecutionEngine/simplesttest.ll:1.6
--- llvm/test/Regression/ExecutionEngine/simplesttest.ll:1.5 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/simplesttest.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
Index: llvm/test/Regression/ExecutionEngine/simpletest.ll
diff -u llvm/test/Regression/ExecutionEngine/simpletest.ll:1.2 llvm/test/Regression/ExecutionEngine/simpletest.ll:1.3
--- llvm/test/Regression/ExecutionEngine/simpletest.ll:1.2 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/simpletest.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
implementation
Index: llvm/test/Regression/ExecutionEngine/test-loadstore.ll
diff -u llvm/test/Regression/ExecutionEngine/test-loadstore.ll:1.6 llvm/test/Regression/ExecutionEngine/test-loadstore.ll:1.7
--- llvm/test/Regression/ExecutionEngine/test-loadstore.ll:1.6 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/test-loadstore.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
Index: llvm/test/Regression/ExecutionEngine/test-logical.ll
diff -u llvm/test/Regression/ExecutionEngine/test-logical.ll:1.5 llvm/test/Regression/ExecutionEngine/test-logical.ll:1.6
--- llvm/test/Regression/ExecutionEngine/test-logical.ll:1.5 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/test-logical.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
Index: llvm/test/Regression/ExecutionEngine/test-malloc.ll
diff -u llvm/test/Regression/ExecutionEngine/test-malloc.ll:1.2 llvm/test/Regression/ExecutionEngine/test-malloc.ll:1.3
--- llvm/test/Regression/ExecutionEngine/test-malloc.ll:1.2 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/test-malloc.ll Sun Dec 31 00:01:59 2006
@@ -1,4 +1,4 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
Index: llvm/test/Regression/ExecutionEngine/test-ret.ll
diff -u llvm/test/Regression/ExecutionEngine/test-ret.ll:1.5 llvm/test/Regression/ExecutionEngine/test-ret.ll:1.6
--- llvm/test/Regression/ExecutionEngine/test-ret.ll:1.5 Sat Nov 6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/test-ret.ll Sun Dec 31 00:01:59 2006
@@ -1,16 +1,16 @@
-; RUN: llvm-as -f %s -o %t.bc
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
; RUN: lli %t.bc > /dev/null
; test return instructions
-void %test() { ret void }
-sbyte %test() { ret sbyte 1 }
-ubyte %test() { ret ubyte 1 }
-short %test() { ret short -1 }
-ushort %test() { ret ushort 65535 }
+void %test1() { ret void }
+sbyte %test2() { ret sbyte 1 }
+ubyte %test3() { ret ubyte 1 }
+short %test4() { ret short -1 }
+ushort %test5() { ret ushort 65535 }
int %main() { ret int 0 }
-uint %test() { ret uint 4 }
-long %test() { ret long 0 }
-ulong %test() { ret ulong 0 }
-float %test() { ret float 1.0 }
-double %test() { ret double 2.0 }
+uint %test6() { ret uint 4 }
+long %test7() { ret long 0 }
+ulong %test8() { ret ulong 0 }
+float %test9() { ret float 1.0 }
+double %test10() { ret double 2.0 }
Index: llvm/test/Regression/ExecutionEngine/test-shift.ll
diff -u llvm/test/Regression/ExecutionEngine/test-shift.ll:1.7 llvm/test/Regression/ExecutionEngine/test-shift.ll:1.8
--- llvm/test/Regression/ExecutionEngine/test-shift.ll:1.7 Sun Dec 3 10:17:19 2006
+++ llvm/test/Regression/ExecutionEngine/test-shift.ll Sun Dec 31 00:01:59 2006
@@ -6,35 +6,35 @@
%shamt = add ubyte 0, 1
; Left shifts...
- %t1 = shl int 1, ubyte %shamt
- %t2 = shl int 1, ubyte 4
+ %t1.s = shl int 1, ubyte %shamt
+ %t2.s = shl int 1, ubyte 4
%t1 = shl uint 1, ubyte %shamt
%t2 = shl uint 1, ubyte 5
;%t1 = shl long 1, ubyte %shamt
- %t2 = shl long 1, ubyte 4
+ %t2.s = shl long 1, ubyte 4
;%t1 = shl ulong 1, ubyte %shamt
%t2 = shl ulong 1, ubyte 5
; Right shifts...
- %tr1 = shr int 1, ubyte %shamt
- %tr2 = shr int 1, ubyte 4
+ %tr1.s = shr int 1, ubyte %shamt
+ %tr2.s = shr int 1, ubyte 4
%tr1 = shr uint 1, ubyte %shamt
%tr2 = shr uint 1, ubyte 5
;%tr1 = shr long 1, ubyte %shamt
- %tr1 = shr long 1, ubyte 4
- %tr2 = shr long 1, ubyte %shamt
- %tr3 = shl long 1, ubyte 4
- %tr4 = shl long 1, ubyte %shamt
+ %tr1.l = shr long 1, ubyte 4
+ %tr2.l = shr long 1, ubyte %shamt
+ %tr3.l = shl long 1, ubyte 4
+ %tr4.l = shl long 1, ubyte %shamt
;%t1 = shr ulong 1, ubyte %shamt
- %tr1 = shr ulong 1, ubyte 5
- %tr2 = shr ulong 1, ubyte %shamt
- %tr3 = shl ulong 1, ubyte 5
- %tr4 = shl ulong 1, ubyte %shamt
+ %tr1.u = shr ulong 1, ubyte 5
+ %tr2.u = shr ulong 1, ubyte %shamt
+ %tr3.u = shl ulong 1, ubyte 5
+ %tr4.u = shl ulong 1, ubyte %shamt
ret int 0
}
More information about the llvm-commits
mailing list