summaryrefslogtreecommitdiff
path: root/test/Integer/a1.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-27 02:34:02 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-27 02:34:02 +0000
commit51c1c0348483c57feacf70f0eaefd752269e4640 (patch)
tree700d6353eaf6edc6358f16a61405656fed0d9f3c /test/Integer/a1.ll
parented570dedad945e1fe9a4bfeaa47276d875f1feed (diff)
downloadllvm-51c1c0348483c57feacf70f0eaefd752269e4640.tar.gz
llvm-51c1c0348483c57feacf70f0eaefd752269e4640.tar.bz2
llvm-51c1c0348483c57feacf70f0eaefd752269e4640.tar.xz
Remove test cases that produce undefined results.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/a1.ll')
-rw-r--r--test/Integer/a1.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Integer/a1.ll b/test/Integer/a1.ll
index cfd69f06aa..6ee99f42ca 100644
--- a/test/Integer/a1.ll
+++ b/test/Integer/a1.ll
@@ -12,13 +12,13 @@
@h = constant i1 shl(i1 1 , i1 1)
@i = constant i1 shl(i1 1 , i1 0)
-@j = constant i1 lshr(i1 1, i1 1)
-@m = constant i1 ashr(i1 1, i1 1)
+@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)
@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)
-@s = constant i1 srem(i1 -1, i1 1)
+@s = constant i1 srem(i1 -1, i1 1) ; overflow
@t = constant i1 urem(i1 -1, i1 1)