[llvm-commits] CVS: llvm/test/Integer/a1.ll a1.ll.out a15.ll a15.ll.out a17.ll a17.ll.out a31.ll a31.ll.out a33.ll a33.ll.out a63.ll a63.ll.out a7.ll a7.ll.out a9.ll a9.ll.out
Reid Spencer
reid at x10sys.com
Mon Feb 26 18:34:19 PST 2007
Changes in directory llvm/test/Integer:
a1.ll updated: 1.4 -> 1.5
a1.ll.out updated: 1.3 -> 1.4
a15.ll updated: 1.4 -> 1.5
a15.ll.out updated: 1.3 -> 1.4
a17.ll updated: 1.4 -> 1.5
a17.ll.out updated: 1.3 -> 1.4
a31.ll updated: 1.4 -> 1.5
a31.ll.out updated: 1.3 -> 1.4
a33.ll updated: 1.4 -> 1.5
a33.ll.out updated: 1.3 -> 1.4
a63.ll updated: 1.4 -> 1.5
a63.ll.out updated: 1.3 -> 1.4
a7.ll updated: 1.5 -> 1.6
a7.ll.out updated: 1.4 -> 1.5
a9.ll updated: 1.4 -> 1.5
a9.ll.out updated: 1.3 -> 1.4
---
Log message:
Remove test cases that produce undefined results.
---
Diffs of the changes: (+5 -33)
a1.ll | 6 +++---
a1.ll.out | 4 ++--
a15.ll | 2 --
a15.ll.out | 2 --
a17.ll | 2 --
a17.ll.out | 2 --
a31.ll | 2 --
a31.ll.out | 2 --
a33.ll | 2 --
a33.ll.out | 2 --
a63.ll | 2 --
a63.ll.out | 2 --
a7.ll | 2 --
a7.ll.out | 2 --
a9.ll | 2 --
a9.ll.out | 2 --
16 files changed, 5 insertions(+), 33 deletions(-)
Index: llvm/test/Integer/a1.ll
diff -u llvm/test/Integer/a1.ll:1.4 llvm/test/Integer/a1.ll:1.5
--- llvm/test/Integer/a1.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a1.ll Mon Feb 26 20:34:02 2007
@@ -12,13 +12,13 @@
@h = constant i1 shl(i1 1 , i1 1)
@i = constant i1 shl(i1 1 , i1 0)
- at j = constant i1 lshr(i1 1, i1 1)
- at m = constant i1 ashr(i1 1, i1 1)
+ at j = constant i1 lshr(i1 1, i1 1) ; undefined
+ at m = constant i1 ashr(i1 1, i1 1) ; undefined
@n = constant i1 mul(i1 -1, i1 1)
@o = constant i1 sdiv(i1 -1, i1 1)
@p = constant i1 sdiv(i1 1 , i1 -1)
@q = constant i1 udiv(i1 -1, i1 1)
@r = constant i1 udiv(i1 1, i1 -1)
- at s = constant i1 srem(i1 -1, i1 1)
+ at s = constant i1 srem(i1 -1, i1 1) ; overflow
@t = constant i1 urem(i1 -1, i1 1)
Index: llvm/test/Integer/a1.ll.out
diff -u llvm/test/Integer/a1.ll.out:1.3 llvm/test/Integer/a1.ll.out:1.4
--- llvm/test/Integer/a1.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a1.ll.out Mon Feb 26 20:34:02 2007
@@ -8,13 +8,13 @@
@h = constant i1 false ; <i1*> [#uses=0]
@i = constant i1 true ; <i1*> [#uses=0]
@j = constant i1 false ; <i1*> [#uses=0]
- at m = constant i1 true ; <i1*> [#uses=0]
+ at m = constant i1 false ; <i1*> [#uses=0]
@n = constant i1 true ; <i1*> [#uses=0]
@o = constant i1 true ; <i1*> [#uses=0]
@p = constant i1 true ; <i1*> [#uses=0]
@q = constant i1 true ; <i1*> [#uses=0]
@r = constant i1 true ; <i1*> [#uses=0]
- at s = constant i1 false ; <i1*> [#uses=0]
+ at s = constant i1 srem (i1 true, i1 true) ; <i1*> [#uses=0]
@t = constant i1 false ; <i1*> [#uses=0]
implementation ; Functions:
Index: llvm/test/Integer/a15.ll
diff -u llvm/test/Integer/a15.ll:1.4 llvm/test/Integer/a15.ll:1.5
--- llvm/test/Integer/a15.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a15.ll Mon Feb 26 20:34:02 2007
@@ -13,9 +13,7 @@
@h = constant i15 shl(i15 1 , i15 15)
@i = constant i15 shl(i15 1 , i15 14)
@j = constant i15 lshr(i15 32767 , i15 14)
- at k = constant i15 lshr(i15 32767 , i15 15)
@l = constant i15 ashr(i15 32767 , i15 14)
- at m = constant i15 ashr(i15 32767 , i15 15)
@n = constant i15 mul(i15 32767, i15 2)
@q = constant i15 mul(i15 -16383,i15 -3)
Index: llvm/test/Integer/a15.ll.out
diff -u llvm/test/Integer/a15.ll.out:1.3 llvm/test/Integer/a15.ll.out:1.4
--- llvm/test/Integer/a15.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a15.ll.out Mon Feb 26 20:34:02 2007
@@ -8,9 +8,7 @@
@h = constant i15 0 ; <i15*> [#uses=0]
@i = constant i15 -16384 ; <i15*> [#uses=0]
@j = constant i15 1 ; <i15*> [#uses=0]
- at k = constant i15 0 ; <i15*> [#uses=0]
@l = constant i15 -1 ; <i15*> [#uses=0]
- at m = constant i15 -1 ; <i15*> [#uses=0]
@n = constant i15 -2 ; <i15*> [#uses=0]
@q = constant i15 16381 ; <i15*> [#uses=0]
@r = constant i15 0 ; <i15*> [#uses=0]
Index: llvm/test/Integer/a17.ll
diff -u llvm/test/Integer/a17.ll:1.4 llvm/test/Integer/a17.ll:1.5
--- llvm/test/Integer/a17.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a17.ll Mon Feb 26 20:34:02 2007
@@ -13,9 +13,7 @@
@h = constant i17 shl(i17 1 , i17 17)
@i = constant i17 shl(i17 1 , i17 16)
@j = constant i17 lshr(i17 131071 , i17 16)
- at k = constant i17 lshr(i17 131071 , i17 17)
@l = constant i17 ashr(i17 131071 , i17 16)
- at m = constant i17 ashr(i17 131071 , i17 17)
@n = constant i17 mul(i17 131071, i17 2)
@q = constant i17 sdiv(i17 -1, i17 65535)
Index: llvm/test/Integer/a17.ll.out
diff -u llvm/test/Integer/a17.ll.out:1.3 llvm/test/Integer/a17.ll.out:1.4
--- llvm/test/Integer/a17.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a17.ll.out Mon Feb 26 20:34:02 2007
@@ -8,9 +8,7 @@
@h = constant i17 0 ; <i17*> [#uses=0]
@i = constant i17 -65536 ; <i17*> [#uses=0]
@j = constant i17 1 ; <i17*> [#uses=0]
- at k = constant i17 0 ; <i17*> [#uses=0]
@l = constant i17 -1 ; <i17*> [#uses=0]
- at m = constant i17 -1 ; <i17*> [#uses=0]
@n = constant i17 -2 ; <i17*> [#uses=0]
@q = constant i17 0 ; <i17*> [#uses=0]
@r = constant i17 2 ; <i17*> [#uses=0]
Index: llvm/test/Integer/a31.ll
diff -u llvm/test/Integer/a31.ll:1.4 llvm/test/Integer/a31.ll:1.5
--- llvm/test/Integer/a31.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a31.ll Mon Feb 26 20:34:02 2007
@@ -13,9 +13,7 @@
@h = constant i31 shl(i31 1 , i31 31)
@i = constant i31 shl(i31 1 , i31 30)
@j = constant i31 lshr(i31 2147483647 , i31 30)
- at k = constant i31 lshr(i31 2147483647 , i31 31)
@l = constant i31 ashr(i31 2147483647 , i31 30)
- at m = constant i31 ashr(i31 2147483647 , i31 31)
@n = constant i31 mul(i31 2147483647, i31 2)
@q = constant i31 sdiv(i31 -1, i31 1073741823)
Index: llvm/test/Integer/a31.ll.out
diff -u llvm/test/Integer/a31.ll.out:1.3 llvm/test/Integer/a31.ll.out:1.4
--- llvm/test/Integer/a31.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a31.ll.out Mon Feb 26 20:34:02 2007
@@ -8,9 +8,7 @@
@h = constant i31 0 ; <i31*> [#uses=0]
@i = constant i31 -1073741824 ; <i31*> [#uses=0]
@j = constant i31 1 ; <i31*> [#uses=0]
- at k = constant i31 0 ; <i31*> [#uses=0]
@l = constant i31 -1 ; <i31*> [#uses=0]
- at m = constant i31 -1 ; <i31*> [#uses=0]
@n = constant i31 -2 ; <i31*> [#uses=0]
@q = constant i31 0 ; <i31*> [#uses=0]
@r = constant i31 2 ; <i31*> [#uses=0]
Index: llvm/test/Integer/a33.ll
diff -u llvm/test/Integer/a33.ll:1.4 llvm/test/Integer/a33.ll:1.5
--- llvm/test/Integer/a33.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a33.ll Mon Feb 26 20:34:02 2007
@@ -13,9 +13,7 @@
@h = constant i33 shl(i33 1 , i33 33)
@i = constant i33 shl(i33 1 , i33 32)
@j = constant i33 lshr(i33 8589934591 , i33 32)
- at k = constant i33 lshr(i33 8589934591 , i33 33)
@l = constant i33 ashr(i33 8589934591 , i33 32)
- at m = constant i33 ashr(i33 8589934591 , i33 33)
@n = constant i33 mul(i33 8589934591, i33 2)
@q = constant i33 sdiv(i33 -1, i33 4294967295)
Index: llvm/test/Integer/a33.ll.out
diff -u llvm/test/Integer/a33.ll.out:1.3 llvm/test/Integer/a33.ll.out:1.4
--- llvm/test/Integer/a33.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a33.ll.out Mon Feb 26 20:34:02 2007
@@ -8,9 +8,7 @@
@h = constant i33 0 ; <i33*> [#uses=0]
@i = constant i33 -4294967296 ; <i33*> [#uses=0]
@j = constant i33 1 ; <i33*> [#uses=0]
- at k = constant i33 0 ; <i33*> [#uses=0]
@l = constant i33 -1 ; <i33*> [#uses=0]
- at m = constant i33 -1 ; <i33*> [#uses=0]
@n = constant i33 -2 ; <i33*> [#uses=0]
@q = constant i33 0 ; <i33*> [#uses=0]
@r = constant i33 2 ; <i33*> [#uses=0]
Index: llvm/test/Integer/a63.ll
diff -u llvm/test/Integer/a63.ll:1.4 llvm/test/Integer/a63.ll:1.5
--- llvm/test/Integer/a63.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a63.ll Mon Feb 26 20:34:02 2007
@@ -13,9 +13,7 @@
@h = constant i63 shl(i63 1 , i63 63)
@i = constant i63 shl(i63 1 , i63 62)
@j = constant i63 lshr(i63 9223372036854775807 , i63 62)
- at k = constant i63 lshr(i63 9223372036854775807 , i63 63)
@l = constant i63 ashr(i63 9223372036854775807 , i63 62)
- at m = constant i63 ashr(i63 9223372036854775807 , i63 63)
@n = constant i63 mul(i63 9223372036854775807, i63 2)
@q = constant i63 sdiv(i63 -1, i63 4611686018427387903)
Index: llvm/test/Integer/a63.ll.out
diff -u llvm/test/Integer/a63.ll.out:1.3 llvm/test/Integer/a63.ll.out:1.4
--- llvm/test/Integer/a63.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a63.ll.out Mon Feb 26 20:34:02 2007
@@ -8,9 +8,7 @@
@h = constant i63 0 ; <i63*> [#uses=0]
@i = constant i63 -4611686018427387904 ; <i63*> [#uses=0]
@j = constant i63 1 ; <i63*> [#uses=0]
- at k = constant i63 0 ; <i63*> [#uses=0]
@l = constant i63 -1 ; <i63*> [#uses=0]
- at m = constant i63 -1 ; <i63*> [#uses=0]
@n = constant i63 -2 ; <i63*> [#uses=0]
@q = constant i63 0 ; <i63*> [#uses=0]
@u = constant i63 -1 ; <i63*> [#uses=0]
Index: llvm/test/Integer/a7.ll
diff -u llvm/test/Integer/a7.ll:1.5 llvm/test/Integer/a7.ll:1.6
--- llvm/test/Integer/a7.ll:1.5 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a7.ll Mon Feb 26 20:34:02 2007
@@ -16,9 +16,7 @@
@h = constant i7 shl(i7 1 , i7 7)
@i = constant i7 shl(i7 1 , i7 6)
@j = constant i7 lshr(i7 127 , i7 6)
- at k = constant i7 lshr(i7 127 , i7 7)
@l = constant i7 ashr(i7 127 , i7 6)
- at m = constant i7 ashr(i7 127 , i7 7)
@m2= constant i7 ashr(i7 -1 , i7 3)
@n = constant i7 mul(i7 127, i7 2)
Index: llvm/test/Integer/a7.ll.out
diff -u llvm/test/Integer/a7.ll.out:1.4 llvm/test/Integer/a7.ll.out:1.5
--- llvm/test/Integer/a7.ll.out:1.4 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a7.ll.out Mon Feb 26 20:34:02 2007
@@ -11,9 +11,7 @@
@h = constant i7 0 ; <i7*> [#uses=0]
@i = constant i7 -64 ; <i7*> [#uses=0]
@j = constant i7 1 ; <i7*> [#uses=0]
- at k = constant i7 0 ; <i7*> [#uses=0]
@l = constant i7 -1 ; <i7*> [#uses=0]
- at m = constant i7 -1 ; <i7*> [#uses=0]
@m2 = constant i7 -1 ; <i7*> [#uses=0]
@n = constant i7 -2 ; <i7*> [#uses=0]
@t = constant i7 -2 ; <i7*> [#uses=0]
Index: llvm/test/Integer/a9.ll
diff -u llvm/test/Integer/a9.ll:1.4 llvm/test/Integer/a9.ll:1.5
--- llvm/test/Integer/a9.ll:1.4 Thu Feb 1 20:16:22 2007
+++ llvm/test/Integer/a9.ll Mon Feb 26 20:34:02 2007
@@ -13,9 +13,7 @@
@h = constant i9 shl(i9 1 , i9 9)
@i = constant i9 shl(i9 1 , i9 8)
@j = constant i9 lshr(i9 511 , i9 8)
- at k = constant i9 lshr(i9 511 , i9 9)
@l = constant i9 ashr(i9 511 , i9 8)
- at m = constant i9 ashr(i9 511 , i9 9)
@n = constant i9 mul(i9 511, i9 2)
@q = constant i9 sdiv(i9 511, i9 2)
Index: llvm/test/Integer/a9.ll.out
diff -u llvm/test/Integer/a9.ll.out:1.3 llvm/test/Integer/a9.ll.out:1.4
--- llvm/test/Integer/a9.ll.out:1.3 Fri Jan 26 02:25:06 2007
+++ llvm/test/Integer/a9.ll.out Mon Feb 26 20:34:02 2007
@@ -8,9 +8,7 @@
@h = constant i9 0 ; <i9*> [#uses=0]
@i = constant i9 -256 ; <i9*> [#uses=0]
@j = constant i9 1 ; <i9*> [#uses=0]
- at k = constant i9 0 ; <i9*> [#uses=0]
@l = constant i9 -1 ; <i9*> [#uses=0]
- at m = constant i9 -1 ; <i9*> [#uses=0]
@n = constant i9 -2 ; <i9*> [#uses=0]
@q = constant i9 0 ; <i9*> [#uses=0]
@r = constant i9 255 ; <i9*> [#uses=0]
More information about the llvm-commits
mailing list