[llvm-commits] CVS: llvm/test/Integer/a1.ll a1.ll.out
Reid Spencer
reid at x10sys.com
Tue Feb 27 11:26:57 PST 2007
Changes in directory llvm/test/Integer:
a1.ll updated: 1.5 -> 1.6
a1.ll.out updated: 1.4 -> 1.5
---
Log message:
Update for constant folding now generating undef and overflow correctly.
---
Diffs of the changes: (+8 -8)
a1.ll | 6 +++---
a1.ll.out | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
Index: llvm/test/Integer/a1.ll
diff -u llvm/test/Integer/a1.ll:1.5 llvm/test/Integer/a1.ll:1.6
--- llvm/test/Integer/a1.ll:1.5 Mon Feb 26 20:34:02 2007
+++ llvm/test/Integer/a1.ll Tue Feb 27 13:26:40 2007
@@ -10,14 +10,14 @@
@f = constant i1 sub(i1 1 , i1 -1)
@g = constant i1 sub(i1 1 , i1 1)
- at h = constant i1 shl(i1 1 , i1 1)
+ at h = constant i1 shl(i1 1 , i1 1) ; undefined
@i = constant i1 shl(i1 1 , i1 0)
@j = constant i1 lshr(i1 1, i1 1) ; undefined
@m = constant i1 ashr(i1 1, i1 1) ; undefined
@n = constant i1 mul(i1 -1, i1 1)
- at o = constant i1 sdiv(i1 -1, i1 1)
- at p = constant i1 sdiv(i1 1 , i1 -1)
+ at o = constant i1 sdiv(i1 -1, i1 1) ; overflow
+ at p = constant i1 sdiv(i1 1 , i1 -1); overflow
@q = constant i1 udiv(i1 -1, i1 1)
@r = constant i1 udiv(i1 1, i1 -1)
@s = constant i1 srem(i1 -1, i1 1) ; overflow
Index: llvm/test/Integer/a1.ll.out
diff -u llvm/test/Integer/a1.ll.out:1.4 llvm/test/Integer/a1.ll.out:1.5
--- llvm/test/Integer/a1.ll.out:1.4 Mon Feb 26 20:34:02 2007
+++ llvm/test/Integer/a1.ll.out Tue Feb 27 13:26:40 2007
@@ -5,13 +5,13 @@
@e = constant i1 false ; <i1*> [#uses=0]
@f = constant i1 false ; <i1*> [#uses=0]
@g = constant i1 false ; <i1*> [#uses=0]
- at h = constant i1 false ; <i1*> [#uses=0]
+ at h = constant i1 undef ; <i1*> [#uses=0]
@i = constant i1 true ; <i1*> [#uses=0]
- at j = constant i1 false ; <i1*> [#uses=0]
- at m = constant i1 false ; <i1*> [#uses=0]
+ at j = constant i1 undef ; <i1*> [#uses=0]
+ at m = constant i1 undef ; <i1*> [#uses=0]
@n = constant i1 true ; <i1*> [#uses=0]
- at o = constant i1 true ; <i1*> [#uses=0]
- at p = constant i1 true ; <i1*> [#uses=0]
+ at o = constant i1 sdiv (i1 true, i1 true) ; <i1*> [#uses=0]
+ at p = constant i1 sdiv (i1 true, i1 true) ; <i1*> [#uses=0]
@q = constant i1 true ; <i1*> [#uses=0]
@r = constant i1 true ; <i1*> [#uses=0]
@s = constant i1 srem (i1 true, i1 true) ; <i1*> [#uses=0]
More information about the llvm-commits
mailing list